CVE-2024-2004

CVE-2024-2004 is a low-severity vulnerability in Haxx Curl with a CVSS 3.x base score of 3.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-436.

Key facts

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.

Frequently asked questions

What is CVE-2024-2004?
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.
How severe is CVE-2024-2004?
CVE-2024-2004 has a CVSS 3.x base score of 3.5, rated low severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is low, integrity none, and availability none.
Is CVE-2024-2004 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (74th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-2004?
CVE-2024-2004 primarily affects Haxx Curl. In total, 11 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2024-2004?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-2004 have an EU (EUVD) identifier?
Yes. CVE-2024-2004 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-26974.
When was CVE-2024-2004 published?
CVE-2024-2004 was published on 2024-03-27 and last updated on 2026-06-17.

References

Affected products (11)

More vulnerabilities in Haxx Curl

All CVEs affecting Haxx Curl →

Other CWE-436 vulnerabilities

Browse all CWE-436 vulnerabilities →