CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
LOW
Availability Impact
LOW
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
AI Score
Confidence
Low
EPSS
Percentile
17.6%
Issue Overview:
When a protocol selection parameter option disables all protocols without adding any then the default set of protocols would remain in the allowed set due to an error in the logic for removing protocols. The below command would perform a request to curl.se with a plaintext protocol which has been explicitly disabled. curl --proto -all,-http http://curl.se The flaw is only present if the set of selected protocols disables the entire set of available protocols, in itself a command with no practical use and therefore unlikely to be encountered in real situations. The curl security team has thus assessed this to be low severity bug. (CVE-2024-2004)
When an application tells libcurl it wants to allow HTTP/2 server push, and the amount of received headers for the push surpasses the maximum allowed limit (1000), libcurl aborts the server push. When aborting, libcurl inadvertently does not free all the previously allocated headers and instead leaks the memory. Further, this error condition fails silently and is therefore not easily detected by an application. (CVE-2024-2398)
Affected Packages:
curl
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update curl to update your system.
New Packages:
aarch64:
curl-8.3.0-1.amzn2.0.7.aarch64
libcurl-8.3.0-1.amzn2.0.7.aarch64
libcurl-devel-8.3.0-1.amzn2.0.7.aarch64
curl-debuginfo-8.3.0-1.amzn2.0.7.aarch64
i686:
curl-8.3.0-1.amzn2.0.7.i686
libcurl-8.3.0-1.amzn2.0.7.i686
libcurl-devel-8.3.0-1.amzn2.0.7.i686
curl-debuginfo-8.3.0-1.amzn2.0.7.i686
src:
curl-8.3.0-1.amzn2.0.7.src
x86_64:
curl-8.3.0-1.amzn2.0.7.x86_64
libcurl-8.3.0-1.amzn2.0.7.x86_64
libcurl-devel-8.3.0-1.amzn2.0.7.x86_64
curl-debuginfo-8.3.0-1.amzn2.0.7.x86_64
Red Hat: CVE-2024-2004, CVE-2024-2398
Mitre: CVE-2024-2004, CVE-2024-2398
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Amazon Linux | 2 | aarch64 | curl | < 8.3.0-1.amzn2.0.7 | curl-8.3.0-1.amzn2.0.7.aarch64.rpm |
Amazon Linux | 2 | aarch64 | libcurl | < 8.3.0-1.amzn2.0.7 | libcurl-8.3.0-1.amzn2.0.7.aarch64.rpm |
Amazon Linux | 2 | aarch64 | libcurl-devel | < 8.3.0-1.amzn2.0.7 | libcurl-devel-8.3.0-1.amzn2.0.7.aarch64.rpm |
Amazon Linux | 2 | aarch64 | curl-debuginfo | < 8.3.0-1.amzn2.0.7 | curl-debuginfo-8.3.0-1.amzn2.0.7.aarch64.rpm |
Amazon Linux | 2 | i686 | curl | < 8.3.0-1.amzn2.0.7 | curl-8.3.0-1.amzn2.0.7.i686.rpm |
Amazon Linux | 2 | i686 | libcurl | < 8.3.0-1.amzn2.0.7 | libcurl-8.3.0-1.amzn2.0.7.i686.rpm |
Amazon Linux | 2 | i686 | libcurl-devel | < 8.3.0-1.amzn2.0.7 | libcurl-devel-8.3.0-1.amzn2.0.7.i686.rpm |
Amazon Linux | 2 | i686 | curl-debuginfo | < 8.3.0-1.amzn2.0.7 | curl-debuginfo-8.3.0-1.amzn2.0.7.i686.rpm |
Amazon Linux | 2 | x86_64 | curl | < 8.3.0-1.amzn2.0.7 | curl-8.3.0-1.amzn2.0.7.x86_64.rpm |
Amazon Linux | 2 | x86_64 | libcurl | < 8.3.0-1.amzn2.0.7 | libcurl-8.3.0-1.amzn2.0.7.x86_64.rpm |