Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2024-2496

Active Important

ALAS2-2024-2496 (important): rust

Published
18 Mar 2024
Updated
18 Mar 2024

Related CVEs

CVE identifiers linked by this publisher.

2
Publisher relationship details 2 records
Explicit publisher CVE relationships
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.

4

Shared package data

Applies to all 4 occurrences
  1. 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
  2. 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
  3. 3rust

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • rust-1.68.2-1.amzn2.0.6.src
  4. 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.

0

No CVSS assessments were provided.

Publisher references

4
  • CVE-2024-24575 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2024-24575
  • CVE-2024-24577 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2024-24577
  • CVE-2024-24575 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24575
  • CVE-2024-24577 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24577

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2024-2496.htmlUnknown2cf9d1519e769b8f4e5c3b1cd5451fca5ed0691f88b1bcf90335bf5354db142damazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2024-2496.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2024-2496.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected