CVE-2024-2004
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.
Description as published by the source, in English.
Key facts
- Published
- 2024-03-27
- Last modified
- 2026-10-15
- Assigned by
- 2499f714-1537-4658-8207-48ae4bb9eae9
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N- Scored by
- 134c704f-9b21-4f2e-91b3-4a467353bcc0
- Probability of exploitation
-
1.7 %
higher than 75 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apple | Macos | < 12.7.6 | Affected |
| Apple | Macos | ≥ 13.0, < 13.6.8 | Affected |
| Apple | Macos | ≥ 14.0, < 14.6 | Affected |
| Fedoraproject | Fedora | 39 | Affected |
| Fedoraproject | Fedora | 40 | Affected |
| Haxx | Curl | ≥ 7.85.0, < 8.7.0 | Affected |
| Netapp | Bootstrap Os | all versions listed | Affected |
| Netapp | H300s | all versions listed | Not affected |
| Netapp | H300s Firmware | all versions listed | Affected |
| Netapp | H410s | all versions listed | Not affected |
| Netapp | H410s Firmware | all versions listed | Affected |
| Netapp | H500s | all versions listed | Not affected |
| Netapp | H500s Firmware | all versions listed | Affected |
| Netapp | H700s | all versions listed | Not affected |
| Netapp | H700s Firmware | all versions listed | Affected |
| Netapp | Hci Compute Node | all versions listed | Not affected |
| Netapp | Ontap | 9 | Affected |
| Netapp | Ontap Select Deploy Administration Utility | all versions listed | Affected |
Weakness type
-
CWE-436: Interpretation Conflict
Product A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.
References
- http://seclists.org/fulldisclosure/2024/Jul/18
- http://seclists.org/fulldisclosure/2024/Jul/19
- http://seclists.org/fulldisclosure/2024/Jul/20
- http://www.openwall.com/lists/oss-security/2024/03/27/1
- https://curl.se/docs/CVE-2024-2004.html
- https://curl.se/docs/CVE-2024-2004.json
- https://hackerone.com/reports/2384833
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/me…
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/me…
- https://security.netapp.com/advisory/ntap-20240524-0006/
- https://support.apple.com/kb/HT214118
- https://support.apple.com/kb/HT214119
- https://support.apple.com/kb/HT214120
- http://seclists.org/fulldisclosure/2024/Jul/18
- http://seclists.org/fulldisclosure/2024/Jul/19
- http://seclists.org/fulldisclosure/2024/Jul/20
- http://www.openwall.com/lists/oss-security/2024/03/27/1
- https://curl.se/docs/CVE-2024-2004.html
- https://curl.se/docs/CVE-2024-2004.json
- https://hackerone.com/reports/2384833
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.