Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2024-24575 Details

Description

libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Using well-crafted inputs to `git_revparse_single` can cause the function to enter an infinite loop, potentially causing a Denial of Service attack in the calling application. The revparse function in `src/libgit2/revparse.c` uses a loop to parse the user-provided spec string. There is an edge-case during parsing that allows a bad actor to force the loop conditions to access arbitrary memory. Potentially, this could also leak memory if the extracted rev spec is reflected back to the attacker. As such, libgit2 versions before 1.4.0 are not affected. Users should upgrade to version 1.6.5 or 1.7.2.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://github.com/libgit2/libgit2/commit/add2dabb3c16aa49b33904dcdc07cd915efc12fa CVEPatch
https://github.com/libgit2/libgit2/releases/tag/v1.6.5 CVERelease Notes
https://github.com/libgit2/libgit2/releases/tag/v1.7.2 CVERelease Notes
https://github.com/libgit2/libgit2/security/advisories/GHSA-54mf-x2rh-hq9v CVEThird Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/4M3P7WIEPXNRLBINQRJFXUSTNKBCHYC7/ CVE

see all 18 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-400Uncontrolled Resource Consumption[email protected]
CWE-400Uncontrolled Resource Consumption[email protected]

Affected Products

ProductVersions
libgit2 libgit2
>= 1.4.0, < 1.6.5
>= 1.7.0, < 1.7.2

CPE

  • cpe:2.3:a:libgit2:libgit2:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

9 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2024-24575
NVD Published Date:
Feb 6, 2024
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2024-24575 Details - Not Deferred