Amazon Linux AMI update for curl



Published: 2024-08-06
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2024-2004
CVE-2024-2398
CWE-ID CWE-20
CWE-772
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

curl
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Input validation error

EUVDB-ID: #VU87846

Risk: Low

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

CVE-ID: CVE-2024-2004

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass certain security restrictions.

The vulnerability exists due to an error when a protocol selection parameter option disables all protocols without adding any. As a result, the default set of protocols would remain in the allowed set due to an error in the logic for removing protocols.

Mitigation

Update the affected packages:

aarch64:
    libcurl-minimal-debuginfo-8.5.0-1.amzn2023.0.4.aarch64
    curl-debuginfo-8.5.0-1.amzn2023.0.4.aarch64
    curl-minimal-debuginfo-8.5.0-1.amzn2023.0.4.aarch64
    curl-debugsource-8.5.0-1.amzn2023.0.4.aarch64
    curl-8.5.0-1.amzn2023.0.4.aarch64
    libcurl-debuginfo-8.5.0-1.amzn2023.0.4.aarch64
    curl-minimal-8.5.0-1.amzn2023.0.4.aarch64
    libcurl-8.5.0-1.amzn2023.0.4.aarch64
    libcurl-minimal-8.5.0-1.amzn2023.0.4.aarch64
    libcurl-devel-8.5.0-1.amzn2023.0.4.aarch64

src:
    curl-8.5.0-1.amzn2023.0.4.src

x86_64:
    libcurl-minimal-debuginfo-8.5.0-1.amzn2023.0.4.x86_64
    libcurl-minimal-8.5.0-1.amzn2023.0.4.x86_64
    curl-debuginfo-8.5.0-1.amzn2023.0.4.x86_64
    curl-minimal-8.5.0-1.amzn2023.0.4.x86_64
    curl-debugsource-8.5.0-1.amzn2023.0.4.x86_64
    libcurl-8.5.0-1.amzn2023.0.4.x86_64
    curl-minimal-debuginfo-8.5.0-1.amzn2023.0.4.x86_64
    curl-8.5.0-1.amzn2023.0.4.x86_64
    libcurl-debuginfo-8.5.0-1.amzn2023.0.4.x86_64
    libcurl-devel-8.5.0-1.amzn2023.0.4.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 8.5.0-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2024-596.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) Missing Release of Resource after Effective Lifetime

EUVDB-ID: #VU87850

Risk: Medium

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

CVE-ID: CVE-2024-2398

CWE-ID: CWE-772 - Missing Release of Resource after Effective Lifetime

Exploit availability: No

Description

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

The vulnerability exists due to an error when sending HTTP/2 server push responses with an overly large number of headers. A remote attacker can send PUSH_PROMISE frames with an excessive amount of headers to the application, trigger memory leak and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

aarch64:
    libcurl-minimal-debuginfo-8.5.0-1.amzn2023.0.4.aarch64
    curl-debuginfo-8.5.0-1.amzn2023.0.4.aarch64
    curl-minimal-debuginfo-8.5.0-1.amzn2023.0.4.aarch64
    curl-debugsource-8.5.0-1.amzn2023.0.4.aarch64
    curl-8.5.0-1.amzn2023.0.4.aarch64
    libcurl-debuginfo-8.5.0-1.amzn2023.0.4.aarch64
    curl-minimal-8.5.0-1.amzn2023.0.4.aarch64
    libcurl-8.5.0-1.amzn2023.0.4.aarch64
    libcurl-minimal-8.5.0-1.amzn2023.0.4.aarch64
    libcurl-devel-8.5.0-1.amzn2023.0.4.aarch64

src:
    curl-8.5.0-1.amzn2023.0.4.src

x86_64:
    libcurl-minimal-debuginfo-8.5.0-1.amzn2023.0.4.x86_64
    libcurl-minimal-8.5.0-1.amzn2023.0.4.x86_64
    curl-debuginfo-8.5.0-1.amzn2023.0.4.x86_64
    curl-minimal-8.5.0-1.amzn2023.0.4.x86_64
    curl-debugsource-8.5.0-1.amzn2023.0.4.x86_64
    libcurl-8.5.0-1.amzn2023.0.4.x86_64
    curl-minimal-debuginfo-8.5.0-1.amzn2023.0.4.x86_64
    curl-8.5.0-1.amzn2023.0.4.x86_64
    libcurl-debuginfo-8.5.0-1.amzn2023.0.4.x86_64
    libcurl-devel-8.5.0-1.amzn2023.0.4.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 8.5.0-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2024-596.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###