ALAS2-2024-2496
Active ImportantALAS2-2024-2496 (important): rust
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 2 records
Shared by all 2 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2024-2496.html| CVE |
|---|
| CVE-2024-24575 |
| CVE-2024-24577 |
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
Read full publisher description 1503 characters
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. (CVE-2024-24575) 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_index_add` can cause heap corruption that could be leveraged for arbitrary code execution. There is an issue in the `has_dir_name` function in `src/libgit2/index.c`, which frees an entry that should not be freed. The freed entry is later used and overwritten with potentially bad actor-controlled data leading to controlled heap corruption. Depending on the application that uses libgit2, this could lead to arbitrary code execution. This issue has been patched in version 1.6.5 and 1.7.2. (CVE-2024-24577)
Solution
Run yum update rust or yum update --advisory ALAS2-2024-2496 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 4 occurrences-
1rust
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- rust-1.68.2-1.amzn2.0.6.aarch64
- rust-std-static-1.68.2-1.amzn2.0.6.aarch64
- rust-doc-1.68.2-1.amzn2.0.6.aarch64
- cargo-1.68.2-1.amzn2.0.6.aarch64
- rustfmt-1.68.2-1.amzn2.0.6.aarch64
- rust-analyzer-1.68.2-1.amzn2.0.6.aarch64
- clippy-1.68.2-1.amzn2.0.6.aarch64
- rust-analysis-1.68.2-1.amzn2.0.6.aarch64
- rust-debuginfo-1.68.2-1.amzn2.0.6.aarch64
-
2rust
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- rust-debugger-common-1.68.2-1.amzn2.0.6.noarch
- rust-gdb-1.68.2-1.amzn2.0.6.noarch
- rust-src-1.68.2-1.amzn2.0.6.noarch
- rust-toolset-1.68.2-1.amzn2.0.6.noarch
-
3rust
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- rust-1.68.2-1.amzn2.0.6.src
-
4rust
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- rust-1.68.2-1.amzn2.0.6.x86_64
- rust-std-static-1.68.2-1.amzn2.0.6.x86_64
- rust-doc-1.68.2-1.amzn2.0.6.x86_64
- cargo-1.68.2-1.amzn2.0.6.x86_64
- rustfmt-1.68.2-1.amzn2.0.6.x86_64
- rust-analyzer-1.68.2-1.amzn2.0.6.x86_64
- clippy-1.68.2-1.amzn2.0.6.x86_64
- rust-analysis-1.68.2-1.amzn2.0.6.x86_64
- rust-debuginfo-1.68.2-1.amzn2.0.6.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
4- CVE-2024-24575 https://access.redhat.com/security/cve/CVE-2024-24575
- CVE-2024-24577 https://access.redhat.com/security/cve/CVE-2024-24577
- CVE-2024-24575 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24575
- CVE-2024-24577 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24577
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2024-2496.html | Unknown | 2cf9d1519e769b8f4e5c3b1cd5451fca5ed0691f88b1bcf90335bf5354db142d | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2024-2496.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2024-2496.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |