CVE & CISA-KEV Catalog

CVE-2024-24575

HIGHEPSS 70th pctl
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
libgit2Debian
Fixed in:1.5.1+ds-1+deb12u1CVE-2024-24575
Fixed in:1.7.2+ds-1CVE-2024-24575
Fixed in:1.7.2+ds-1CVE-2024-24575
libgit2Ubuntu
Fixed in:0.24.1-2ubuntu0.2+esm2USN-6678-1
Fixed in:0.26.0+dfsg.1-1.1ubuntu0.2+esm1USN-6678-1
Fixed in:0.28.4+dfsg.1-2ubuntu0.1USN-6678-1
Fixed in:1.1.0+dfsg.1-4.1ubuntu0.1USN-6678-1
Fixed in:1.5.1+ds-1ubuntu1.1USN-6678-1
libgit2-1.1Ubuntu
Fixed in:1.1.0+dfsg.1-4.1ubuntu0.1USN-6678-1
libgit2-1.5Ubuntu
Fixed in:1.5.1+ds-1ubuntu1.1USN-6678-1
libgit2-24Ubuntu
Fixed in:0.24.1-2ubuntu0.2+esm2USN-6678-1
libgit2-26Ubuntu
Fixed in:0.26.0+dfsg.1-1.1ubuntu0.2+esm1USN-6678-1
libgit2-28Ubuntu
Fixed in:0.28.4+dfsg.1-2ubuntu0.1USN-6678-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

1.44%probability of exploitation in 30 days
70thpercentile

Elevated risk: more likely to be exploited than 70% of all known CVEs.

References

Related Vulnerabilities

Other CWE-400 (Resource Exhaustion) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-44487High7.5100%KEVFix
CVE-2021-44228Critical10.0100%KEV + RansomFix
CVE-2011-3192High7.899%-Fix
CVE-2019-11478Medium5.395%-Fix
CVE-2024-25617Medium5.389%-Fix
CVE-2018-1000115High7.589%-Fix
Embed a live status badge for CVE-2024-24575
CVE-2024-24575 severity badge

Markdown

[![CVE-2024-24575](https://tridentstack.com/cve/badge/CVE-2024-24575.svg)](https://tridentstack.com/cve/CVE-2024-24575)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-24575"><img src="https://tridentstack.com/cve/badge/CVE-2024-24575.svg" alt="CVE-2024-24575"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.