Bug 2263095 (CVE-2024-24577)
| Summary: | CVE-2024-24577 libgit2: arbitrary code execution due to heap corruption in git_index_add | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Robb Gatica <rgatica> |
| Component: | vulnerability | Assignee: | Product Security <prodsec-ir-bot> |
| Status: | NEW --- | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | bodavis, emachado, ganandan, jchecahi, jistone, mnewsome, sipoyare, tstellar |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libgit2 1.6.5, libgit2 1.7.2 | Doc Type: | --- |
| Doc Text: |
A flaw was found in libgit2, a cross-platform, linkable library implementation of Git. A specially crafted payload to git_index_add can cause heap corruption that could be leveraged for arbitrary code execution. The attacker must be able to trigger two consecutive calls to git_index_add with a filename that starts with a / character to exploit this vulnerability. To control the heap corruption, the attacker must be able to control the ctime field of the git_index_entry data structure.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2263096, 2263097, 2263098, 2263099, 2263100 | ||
| Bug Blocks: | 2263090 | ||
|
Description
Robb Gatica
2024-02-07 00:47:24 UTC
Created libgit2 tracking bugs for this issue: Affects: fedora-all [bug 2263096] Created rust tracking bugs for this issue: Affects: epel-all [bug 2263098] Affects: fedora-all [bug 2263099] Created rust-libgit2-sys tracking bugs for this issue: Affects: fedora-all [bug 2263100] |