Lucene search

K
gentooGentoo FoundationGLSA-202401-17
HistoryJan 14, 2024 - 12:00 a.m.

libgit2: Privilege Escalation Vulnerability

2024-01-1400:00:00
Gentoo Foundation
security.gentoo.org
9
vulnerability
privilege escalation
libgit2
malicious crafted git repository
elevation of privileges
re-entrant linkable library
trusted users
upgrade
resolution
unix

6.9 Medium

CVSS2

Attack Vector

LOCAL

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:M/Au:N/C:C/I:C/A:C

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

7.3 High

AI Score

Confidence

Low

0.0005 Low

EPSS

Percentile

17.1%

Background

libgit2 is a portable, pure C implementation of the Git core methods provided as a re-entrant linkable library with a solid API.

Description

A vulnerability has been discovered in libgit2. Please review the CVE identifier referenced below for details.

Impact

Usages of a malicious crafted Git repository could allow the creator of the repository to elevate privileges to those of the user accessing the repository.

Workaround

Administrators can ensure that their usages of libgit2 only interact with repositories which have only been modified by trusted users.

Resolution

All libgit2 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-libs/libgit2-1.4.4"
OSVersionArchitecturePackageVersionFilename
Gentooanyalldev-libs/libgit2< 1.4.4UNKNOWN

6.9 Medium

CVSS2

Attack Vector

LOCAL

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:M/Au:N/C:C/I:C/A:C

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

7.3 High

AI Score

Confidence

Low

0.0005 Low

EPSS

Percentile

17.1%