Gentoo Linux Security Advisory 202401-17 - A vulnerability has been found in libgit2 which could result in privilege escalation. Versions greater than or equal to 1.4.4 are affected.
89d16f7d78e191e575e8096e4c51fb0ea0cbf3a5a7f4facbc4b44acd7545037a
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202401-17
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: libgit2: Privilege Escalation Vulnerability
Date: January 14, 2024
Bugs: #857792
ID: 202401-17
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
=======
A vulnerability has been found in libgit2 which could result in
privilege escalation.
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
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 ">Þv-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.
License
======
Copyright 2024 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
https://creativecommons.org/licenses/by-sa/2.5