CVE-2024-2004
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| curl | curl | 8.6.0 <= 8.6.0 | affected |
| curl | curl | 8.5.0 <= 8.5.0 | affected |
| curl | curl | 8.4.0 <= 8.4.0 | affected |
| curl | curl | 8.3.0 <= 8.3.0 | affected |
| curl | curl | 8.2.1 <= 8.2.1 | affected |
| curl | curl | 8.2.0 <= 8.2.0 | affected |
| curl | curl | 8.1.2 <= 8.1.2 | affected |
| curl | curl | 8.1.1 <= 8.1.1 | affected |
| curl | curl | 8.1.0 <= 8.1.0 | affected |
| curl | curl | 8.0.1 <= 8.0.1 | affected |
| curl | curl | 8.0.0 <= 8.0.0 | affected |
| curl | curl | 7.88.1 <= 7.88.1 | affected |
| curl | curl | 7.88.0 <= 7.88.0 | affected |
| curl | curl | 7.87.0 <= 7.87.0 | affected |
| curl | curl | 7.86.0 <= 7.86.0 | affected |
| curl | curl | 7.85.0 <= 7.85.0 | affected |
Weaknesses
- CWE-115 Misinterpretation of Input
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
CVE Program Container
Additional References
- https://curl.se/docs/CVE-2024-2004.json
- https://curl.se/docs/CVE-2024-2004.html
- https://hackerone.com/reports/2384833
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GMD6UYKCCRCYETWQZUJ65ZRFULT6SHLI/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2D44YLAUFJU6BZ4XFG2FYV7SBKXB5IZ6/
- http://www.openwall.com/lists/oss-security/2024/03/27/1
- https://security.netapp.com/advisory/ntap-20240524-0006/
- https://support.apple.com/kb/HT214119
- https://support.apple.com/kb/HT214118
- https://support.apple.com/kb/HT214120
- http://seclists.org/fulldisclosure/2024/Jul/20
- http://seclists.org/fulldisclosure/2024/Jul/18
- http://seclists.org/fulldisclosure/2024/Jul/19
References
- https://curl.se/docs/CVE-2024-2004.json
- https://curl.se/docs/CVE-2024-2004.html
- https://hackerone.com/reports/2384833
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GMD6UYKCCRCYETWQZUJ65ZRFULT6SHLI/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2D44YLAUFJU6BZ4XFG2FYV7SBKXB5IZ6/
- http://www.openwall.com/lists/oss-security/2024/03/27/1
- https://security.netapp.com/advisory/ntap-20240524-0006/
- https://support.apple.com/kb/HT214119
- https://support.apple.com/kb/HT214118
- https://support.apple.com/kb/HT214120
- http://seclists.org/fulldisclosure/2024/Jul/20
- http://seclists.org/fulldisclosure/2024/Jul/18
- http://seclists.org/fulldisclosure/2024/Jul/19
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.