CVEfocus › CVE database › CVE-2024-2004

CVE-2024-2004Usage of disabled protocol

CVSS 3.5 LowEPSS 1.7% (higher than 77% of CVEs)Published 2024-03-27Updated 2026-10-15Assigner: curl

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.

CWE-436

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
20Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04curlFixed8.5.0-2ubuntu10.1UBUNTU-CVE-2024-2004
Ubuntu 22.04curlNot affected
vulnerable_code_not_present
Debian 14curlFixed8.7.1-1DEBIAN-CVE-2024-2004
Debian 13curlFixed8.7.1-1DEBIAN-CVE-2024-2004
Debian 12curlFixed7.88.1-10+deb12u6DEBIAN-CVE-2024-2004
Red Hat Enterprise Linux 10curlNot affected
Red Hat Enterprise Linux 10libcurlNot affected
Red Hat Enterprise Linux 10libcurl-develNot affected
Red Hat Enterprise Linux 10libcurl-minimalNot affected
Red Hat Enterprise Linux 9curlNot affected
Red Hat Enterprise Linux 9curl-minimalNot affected
Red Hat Enterprise Linux 9libcurlNot affected
Red Hat Enterprise Linux 9libcurl-develNot affected
Red Hat Enterprise Linux 9libcurl-minimalNot affected
Red Hat Enterprise Linux 8curlNot affected
Red Hat Enterprise Linux 8libcurlNot affected
Red Hat Enterprise Linux 8libcurl-develNot affected
Red Hat Enterprise Linux 8libcurl-minimalNot affected
Red Hat Enterprise Linux 7curlNot affected
Red Hat Enterprise Linux 7libcurlNot affected
Red Hat Enterprise Linux 7libcurl-develNot affected
Red Hat Enterprise Linux 6curlNot affected
Red Hat Enterprise Linux 6libcurlNot affected
Red Hat Enterprise Linux 6libcurl-develNot affected
Alpine Linux 3.24curlFixed8.7.1-r0ALPINE-CVE-2024-2004
Alpine Linux 3.23curlFixed8.7.1-r0ALPINE-CVE-2024-2004
Alpine Linux 3.22curlFixed8.7.1-r0ALPINE-CVE-2024-2004
Alpine Linux 3.21curlFixed8.7.1-r0ALPINE-CVE-2024-2004
Alpine Linux 3.20curlFixed8.7.1-r0ALPINE-CVE-2024-2004
Alpine Linux 3.19curlFixed8.7.1-r0ALPINE-CVE-2024-2004
Alpine Linux 3.18curlFixed8.7.1-r0ALPINE-CVE-2024-2004
Alpine Linux 3.17curlFixed8.7.1-r0ALPINE-CVE-2024-2004

What the vendor says

As published in the CVE record by curl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.