CVE-2024-2004
CWE-436Published: March 27, 2024· Updated: Jun 17, 2026
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.
Technical Analysis
CVE-2024-2004 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (26)
Quick Facts
Related CVEs (CWE-436)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2024-2004 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts