CVE-2024-2004 Affecting curl package, versions <8.5.0-2ubuntu10.1


Severity

Recommended
low

Based on Ubuntu 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-UBUNTU2404-CURL-6694790
  • published29 Apr 2024
  • disclosed27 Mar 2024

Introduced: 27 Mar 2024

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

How to fix?

Upgrade Ubuntu:24.04 curl to version 8.5.0-2ubuntu10.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream curl package and not the curl package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 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