CVE-2024-24575: libgit2 is vulnerable to a denial of service attack in `git_revparse_single`
Affected: libgit2 · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 73% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- libgit2 · libgit2>= 1.4.0, < 1.6.5; >= 1.7.0, < 1.7.2
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- libgit2
- Published
- February 2024
CoverageNo articles yet
No CyberSIXT article names CVE-2024-24575 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-400cwe.mitre.org
- github.com/libgit2/libgit2/security/advisories/GHSA-54mf-x2rh-hqgithub.com
- github.com/libgit2/libgit2/commit/add2dabb3c16aa49b33904dcdc07cdgithub.com
- github.com/libgit2/libgit2/releases/tag/v1.6.5github.com
- github.com/libgit2/libgit2/releases/tag/v1.7.2github.com
- lists.fedoraproject.org/archives/list/package-announce@lists.fedlists.fedoraproject.org
- lists.fedoraproject.org/archives/list/package-announce@lists.fedlists.fedoraproject.org
- lists.fedoraproject.org/archives/list/package-announce@lists.fedlists.fedoraproject.org
- lists.fedoraproject.org/archives/list/package-announce@lists.fedlists.fedoraproject.org
- lists.fedoraproject.org/archives/list/package-announce@lists.fedlists.fedoraproject.org