Skip to content
Sign in
CVE-2024-245757.5HighCWE-400

CVE-2024-24575: libgit2 is vulnerable to a denial of service attack in `git_revparse_single`

libgit2

Affected: libgit2 · Exploitation: possible (1 to 10%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

1.4%probability of exploitation in the next 30 days
73rd percentile
050100

Higher than 73% of scored CVEs

7.5HighCVSS 3.1
LowHigh

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.

Open the Atlas
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

Updated AboutDevelopersSign in