Amazon Linux AMI update for rust



Published: 2024-08-06
Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2024-24575
CVE-2024-24577
CWE-ID CWE-835
CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

rust
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Infinite loop

EUVDB-ID: #VU86202

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-24575

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop in git_revparse_single within the revparse() function in src/libgit2/revparse.c. A remote attacker can consume all available system resources and cause denial of service conditions.

Mitigation

Update the affected packages:

aarch64:
    rust-analyzer-debuginfo-1.68.2-1.amzn2023.0.5.aarch64
    rust-debuginfo-1.68.2-1.amzn2023.0.5.aarch64
    clippy-debuginfo-1.68.2-1.amzn2023.0.5.aarch64
    rust-std-static-1.68.2-1.amzn2023.0.5.aarch64
    cargo-debuginfo-1.68.2-1.amzn2023.0.5.aarch64
    rustfmt-1.68.2-1.amzn2023.0.5.aarch64
    rust-analyzer-1.68.2-1.amzn2023.0.5.aarch64
    clippy-1.68.2-1.amzn2023.0.5.aarch64
    rust-analysis-1.68.2-1.amzn2023.0.5.aarch64
    rust-1.68.2-1.amzn2023.0.5.aarch64
    rustfmt-debuginfo-1.68.2-1.amzn2023.0.5.aarch64
    cargo-1.68.2-1.amzn2023.0.5.aarch64
    rust-debugsource-1.68.2-1.amzn2023.0.5.aarch64
    rust-doc-1.68.2-1.amzn2023.0.5.aarch64

noarch:
    rust-lldb-1.68.2-1.amzn2023.0.5.noarch
    rust-gdb-1.68.2-1.amzn2023.0.5.noarch
    rust-std-static-wasm32-wasi-1.68.2-1.amzn2023.0.5.noarch
    rust-debugger-common-1.68.2-1.amzn2023.0.5.noarch
    rust-std-static-wasm32-unknown-unknown-1.68.2-1.amzn2023.0.5.noarch
    rust-src-1.68.2-1.amzn2023.0.5.noarch

src:
    rust-1.68.2-1.amzn2023.0.5.src

x86_64:
    rust-debuginfo-1.68.2-1.amzn2023.0.5.x86_64
    clippy-1.68.2-1.amzn2023.0.5.x86_64
    rust-std-static-1.68.2-1.amzn2023.0.5.x86_64
    rustfmt-1.68.2-1.amzn2023.0.5.x86_64
    cargo-1.68.2-1.amzn2023.0.5.x86_64
    cargo-debuginfo-1.68.2-1.amzn2023.0.5.x86_64
    rust-analysis-1.68.2-1.amzn2023.0.5.x86_64
    clippy-debuginfo-1.68.2-1.amzn2023.0.5.x86_64
    rustfmt-debuginfo-1.68.2-1.amzn2023.0.5.x86_64
    rust-analyzer-debuginfo-1.68.2-1.amzn2023.0.5.x86_64
    rust-1.68.2-1.amzn2023.0.5.x86_64
    rust-analyzer-1.68.2-1.amzn2023.0.5.x86_64
    rust-debugsource-1.68.2-1.amzn2023.0.5.x86_64
    rust-doc-1.68.2-1.amzn2023.0.5.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

rust: before 1.68.2-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2024-566.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Heap-based buffer overflow

EUVDB-ID: #VU86201

Risk: High

CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-24577

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in git_index_add. A remote attacker can pass specially crafted filename that starts with a "/" character to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages:

aarch64:
    rust-analyzer-debuginfo-1.68.2-1.amzn2023.0.5.aarch64
    rust-debuginfo-1.68.2-1.amzn2023.0.5.aarch64
    clippy-debuginfo-1.68.2-1.amzn2023.0.5.aarch64
    rust-std-static-1.68.2-1.amzn2023.0.5.aarch64
    cargo-debuginfo-1.68.2-1.amzn2023.0.5.aarch64
    rustfmt-1.68.2-1.amzn2023.0.5.aarch64
    rust-analyzer-1.68.2-1.amzn2023.0.5.aarch64
    clippy-1.68.2-1.amzn2023.0.5.aarch64
    rust-analysis-1.68.2-1.amzn2023.0.5.aarch64
    rust-1.68.2-1.amzn2023.0.5.aarch64
    rustfmt-debuginfo-1.68.2-1.amzn2023.0.5.aarch64
    cargo-1.68.2-1.amzn2023.0.5.aarch64
    rust-debugsource-1.68.2-1.amzn2023.0.5.aarch64
    rust-doc-1.68.2-1.amzn2023.0.5.aarch64

noarch:
    rust-lldb-1.68.2-1.amzn2023.0.5.noarch
    rust-gdb-1.68.2-1.amzn2023.0.5.noarch
    rust-std-static-wasm32-wasi-1.68.2-1.amzn2023.0.5.noarch
    rust-debugger-common-1.68.2-1.amzn2023.0.5.noarch
    rust-std-static-wasm32-unknown-unknown-1.68.2-1.amzn2023.0.5.noarch
    rust-src-1.68.2-1.amzn2023.0.5.noarch

src:
    rust-1.68.2-1.amzn2023.0.5.src

x86_64:
    rust-debuginfo-1.68.2-1.amzn2023.0.5.x86_64
    clippy-1.68.2-1.amzn2023.0.5.x86_64
    rust-std-static-1.68.2-1.amzn2023.0.5.x86_64
    rustfmt-1.68.2-1.amzn2023.0.5.x86_64
    cargo-1.68.2-1.amzn2023.0.5.x86_64
    cargo-debuginfo-1.68.2-1.amzn2023.0.5.x86_64
    rust-analysis-1.68.2-1.amzn2023.0.5.x86_64
    clippy-debuginfo-1.68.2-1.amzn2023.0.5.x86_64
    rustfmt-debuginfo-1.68.2-1.amzn2023.0.5.x86_64
    rust-analyzer-debuginfo-1.68.2-1.amzn2023.0.5.x86_64
    rust-1.68.2-1.amzn2023.0.5.x86_64
    rust-analyzer-1.68.2-1.amzn2023.0.5.x86_64
    rust-debugsource-1.68.2-1.amzn2023.0.5.x86_64
    rust-doc-1.68.2-1.amzn2023.0.5.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

rust: before 1.68.2-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2024-566.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###