Vulnerability · Published Mar 27, 2024 · Assigned by curl

CVE-2024-2004Usage of disabled protocol

Low 3.5

In plain English

A low-severity security flaw in curl from curl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.5Low
Exploit odds (30 days)1.7%top 22.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20curl8.7.1-r0ALPINE-CVE-2024-2004
Alpine:v3.21curl8.7.1-r0ALPINE-CVE-2024-2004
Alpine:v3.22curl8.7.1-r0ALPINE-CVE-2024-2004
Alpine:v3.23curl8.7.1-r0ALPINE-CVE-2024-2004
Alpine:v3.24curl8.7.1-r0ALPINE-CVE-2024-2004
Debian:12curl7.88.1-10+deb12u6DEBIAN-CVE-2024-2004
Debian:13curl8.7.1-1DEBIAN-CVE-2024-2004
Debian:14curl8.7.1-1DEBIAN-CVE-2024-2004
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.16USN-6718-1
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.1USN-6718-3
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.1UBUNTU-CVE-2024-2004

Affected products (as reported)

VendorProductVersions
curl curl 8.6.0 – through 8.6.08.5.0 – through 8.5.08.4.0 – through 8.4.08.3.0 – through 8.3.08.2.1 – through 8.2.18.2.0 – through 8.2.08.1.2 – through 8.1.28.1.1 – through 8.1.1

Weakness: CWE-436 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N

References