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 products
haxx: curl; fedoraproject: fedora; apple: macos; netapp: ontap; netapp: ontap select deploy administration utility; netapp: bootstrap os; netapp: hci compute node; netapp: h300s firmware; netapp: h300s; netapp: h410s firmware; netapp: h410s; netapp: h500s firmware; netapp: h500s; netapp: h700s firmware; netapp: h700s
References10
- curl.se/docs/CVE-2024-2004.html Vendor Advisory
- curl.se/docs/CVE-2024-2004.json Vendor Advisory
- support.apple.com/kb/HT214118 Release NotesVendor Advisory
- support.apple.com/kb/HT214119 Release NotesVendor Advisory
- support.apple.com/kb/HT214120 Release NotesVendor Advisory
- curl.se/docs/CVE-2024-2004.html Vendor Advisory
- curl.se/docs/CVE-2024-2004.json Vendor Advisory
- support.apple.com/kb/HT214118 Release NotesVendor Advisory
- support.apple.com/kb/HT214119 Release NotesVendor Advisory
- support.apple.com/kb/HT214120 Release NotesVendor Advisory
Metrics
- CVSS 3.1
-
3.5
LOW
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N - EPSS — exploit probability
- 2% percentile: 77 · as of 5 November 2026
- CWE
- CWE-436
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.