Amazon Linux 2023 Security Advisory: ALAS-2024-596
Advisory Release Date: 2024-04-25 16:39 Pacific
Advisory Updated Date: 2024-04-25 16:39 Pacific
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
Issue Correction:
Run dnf update curl --releasever 2023.4.20240429 to update your system.
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