Gentoo: GLSA-202401-17: libgit2: Privilege Escalation Vulnerability
Summary
A vulnerability has been discovered in libgit2. Please review the CVE
identifier referenced below for details.
Resolution
All libgit2 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libgit2-1.4.4"
References
[ 1 ] CVE-2022-29187
https://nvd.nist.gov/vuln/detail/CVE-2022-29187
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/202401-17
Concerns
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.
Background
libgit2 is a portable, pure C implementation of the Git core methods
provided as a re-entrant linkable library with a solid API.
Affected Packages
Package Vulnerable Unaffected
---------------- ------------ ------------
dev-libs/libgit2 < 1.4.4 >= 1.4.4
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.