curl — security advisory
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.
- Products
- curl
- Affected versions
- 7.88.1-10, 7.88.1-10+deb12u1, 7.88.1-10+deb12u1~bpo11+1, 7.88.1-10+deb12u2, 7.88.1-10+deb12u3, 7.88.1-10+deb12u3~bpo11+1, 7.88.1-10+deb12u4, 7.88.1-10+deb12u5, 7.88.1-10+deb12u5~bpo11+1, 7.88.1-10+deb12u6~bpo11+1
- Fixed versions
- 7.88.1-10+deb12u6, 8.7.1-1
- CVEs
- CVE-2024-2004
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 16:52 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2024-2004
curl
Fixed versions: 7.88.1-10+deb12u6
curl
Fixed versions: 8.7.1-1
curl
Fixed versions: 8.7.1-1
Complete source record
{
"id": "515a989af970aa3347aace905e2a526b43364a457d6338ba9212a25c599467f2",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2024-2004",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2024-2004",
"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.",
"evidence": "osv:DEBIAN-CVE-2024-2004",
"products": [
{
"name": {
"value": "curl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.88.1-10+deb12u6",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "7.88.1-10",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u1~bpo11+1",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u2",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u3",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u3~bpo11+1",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u4",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u5",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u5~bpo11+1",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u6~bpo11+1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "curl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.7.1-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "curl",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.7.1-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "low",
"structured": {
"id": "DEBIAN-CVE-2024-2004",
"aliases": [
"DEBIAN-CVE-2024-2004"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "7.88.1-10+deb12u6"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:deb/debian/curl?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"7.88.1-10",
"7.88.1-10+deb12u1",
"7.88.1-10+deb12u1~bpo11+1",
"7.88.1-10+deb12u2",
"7.88.1-10+deb12u3",
"7.88.1-10+deb12u3~bpo11+1",
"7.88.1-10+deb12u4",
"7.88.1-10+deb12u5",
"7.88.1-10+deb12u5~bpo11+1",
"7.88.1-10+deb12u6~bpo11+1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-2004.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "8.7.1-1"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:deb/debian/curl?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-2004.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "8.7.1-1"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:deb/debian/curl?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-2004.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T09:47:42.686256143Z",
"provider": "osv",
"upstream": [
"CVE-2024-2004"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2024-2004"
]
},
"related_cves": [
{
"value": "CVE-2024-2004",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 328445,
"published_at": "2024-03-27T08:15:41.173+00:00"
}