Skip to content
OpenAdvisories
Medium ALAS2-2024-2526 2 CVEs

Moderate: curl security update (Amazon Linux 2)

Published Apr 24, 2024 · Updated Apr 24, 2024

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2024-2398: 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-2004: 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.

Fixed packages 4

ReleasePackageFixed in
Amazon Linux · 2 curl 0:8.3.0-1.amzn2.0.7
Amazon Linux · 2 curl-debuginfo 0:8.3.0-1.amzn2.0.7
Amazon Linux · 2 libcurl 0:8.3.0-1.amzn2.0.7
Amazon Linux · 2 libcurl-devel 0:8.3.0-1.amzn2.0.7

Vulnerabilities 2

  • High 8.6
    CVE-2024-2398 EPSS 36%

    HTTP/2 push headers memory-leak

    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 prev…

  • Low 3.5

    Usage of disabled protocol

    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 wi…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-2004.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-2398.html