Misinterpretation of Input Affecting libcurl-minimal package, versions <0:8.5.0-1.amzn2023.0.4


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-LIBCURLMINIMAL-6729295
  • published30 Apr 2024
  • disclosed27 Mar 2024

Introduced: 27 Mar 2024

CVE-2024-2004  (opens in a new tab)
CWE-115  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 libcurl-minimal to version 0:8.5.0-1.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2024-596.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcurl-minimal package and not the libcurl-minimal package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Scores

version 3.1