NA

CVE-2024-2004

Published: 27/03/2024 Updated: 01/05/2024

Vulnerability 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 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.

Vendor Advisories

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 curlse with a plaintext protocol which has been explicitly disabled curl --proto -all,-http ht ...
Description<!---->A flaw was found in curl When a protocol selection parameter disables all protocols without adding any, the default set of protocols remains in the allowed set due to a logic error, allowing usage of disabled protocolsA flaw was found in curl When a protocol selection parameter disables all protocols without adding any, the def ...

Mailing Lists

<!--X-Body-Begin--> <!--X-User-Header--> oss-sec mailing list archives <!--X-User-Header-End--> <!--X-TopPNI--> By Date By Thread </form> <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> [SECURITY ADVISORY] curl: CVE-2024-2004: Usage of disabled protocol <!--X-Subject-Header-End--> <!--X-Head-of-Message--> Fro ...