Usage of disabled protocol (curl curl)

CVE-2024-2004
LOW 3.5

At a glance

Source
NVD
EPSS
EPSS 1.68 % · percentile 77 ()
State
PUBLISHED
Published
Updated
Assigner
curl
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-436 — Interpretation Conflict

References

Scores

VersionScoreVectorScored by
CVSS 3.1LOW 3.5CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:NCISA-ADP
CVSS 3.1LOW 3.5CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:NNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
curl · curlaffected 8.6.0 ≤ 8.6.0 ; affected 8.5.0 ≤ 8.5.0 ; affected 8.4.0 ≤ 8.4.0 ; affected 8.3.0 ≤ 8.3.0 ; affected 8.2.1 ≤ 8.2.1 ; affected 8.2.0 ≤ 8.2.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD