GLSA 202401-17: libgit2: Privilege Escalation Vulnerability

Severity:normal
Title:libgit2: Privilege Escalation Vulnerability
Date:01/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 Architecture(s)
dev-libs/libgit2 < 1.4.4 >= 1.4.4 All supported architectures

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

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202401-17.xml

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 2010 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.

Thank you!