portage-ng / portage / dev-libs / libgit2 / 1.9.7
portage-ng glsa
3 advisories reference dev-libs/libgit2 · none place version 1.9.7 in a vulnerable range
▸ GLSA 202411-05 libgit2: Multiple Vulnerabilities this version unaffected high remote 2024-11-06

Multiple vulnerabilities have been discovered in libgit2, the worst of which could lead to arbitrary code execution.

Announced
2024-11-06
Revised
2024-11-06
Access
remote
Bugs
#891525 #923971
Advisory
https://security.gentoo.org/glsa/202411-05

Affected packages

PackageArchVulnerableUnaffected
dev-libs/libgit2*< 1.7.2>= 1.7.2

Background

libgit2 is a portable, pure C implementation of the Git core methods provided as a re-entrant linkable library with a solid API, allowing you to write native speed custom Git applications in any language that supports C bindings.

Description

Multiple vulnerabilities have been discovered in libgit2. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All libgit2 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libgit2-1.7.2"

References

▸ GLSA 202401-17 libgit2: Privilege Escalation Vulnerability this version unaffected normal local 2024-01-14

A vulnerability has been found in libgit2 which could result in privilege escalation.

Announced
2024-01-14
Revised
2024-01-14
Access
local
Bugs
#857792
Advisory
https://security.gentoo.org/glsa/202401-17

Affected packages

PackageArchVulnerableUnaffected
dev-libs/libgit2*< 1.4.4>= 1.4.4

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"

References

▸ GLSA 202003-42 libgit2: Multiple vulnerabilities this version unaffected normal local, remote 2020-03-19

Multiple vulnerabilities have been found in libgit2, the worst of which could result in the arbitrary execution of code.

Announced
2020-03-19
Revised
2020-03-19
Access
local, remote
Bugs
#702522
Advisory
https://security.gentoo.org/glsa/202003-42

Affected packages

PackageArchVulnerableUnaffected
dev-libs/libgit2*< 0.28.4>= 0.28.4

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

Multiple vulnerabilities have been discovered in libgit2. Please review the CVE identifiers referenced below for details.

Impact

An attacker could possibly overwrite arbitrary paths, execute arbitrary code, and overwrite files in the .git directory.

Workaround

There is no known workaround at this time.

Resolution

All libgit2 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libgit2-0.28.4"

References