Vulnerability · Published Mar 27, 2024 · Assigned by curl
CVE-2024-2004Usage of disabled protocol
Low 3.5
In plain English
A low-severity security flaw in curl from curl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | curl | 8.7.1-r0 | ALPINE-CVE-2024-2004 |
| Alpine:v3.21 | curl | 8.7.1-r0 | ALPINE-CVE-2024-2004 |
| Alpine:v3.22 | curl | 8.7.1-r0 | ALPINE-CVE-2024-2004 |
| Alpine:v3.23 | curl | 8.7.1-r0 | ALPINE-CVE-2024-2004 |
| Alpine:v3.24 | curl | 8.7.1-r0 | ALPINE-CVE-2024-2004 |
| Debian:12 | curl | 7.88.1-10+deb12u6 | DEBIAN-CVE-2024-2004 |
| Debian:13 | curl | 8.7.1-1 | DEBIAN-CVE-2024-2004 |
| Debian:14 | curl | 8.7.1-1 | DEBIAN-CVE-2024-2004 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.16 | USN-6718-1 |
| Ubuntu:24.04:LTS | curl | 8.5.0-2ubuntu10.1 | USN-6718-3 |
| Ubuntu:24.04:LTS | curl | 8.5.0-2ubuntu10.1 | UBUNTU-CVE-2024-2004 |
Affected products (as reported)
Weakness: CWE-436 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
References
- json
- www
- issue
- 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
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-417159.html
- https://cert-portal.siemens.com/productcert/html/ssa-331112.html