{"id":"CVE-2024-2004","revision":"9ea0ae3c27f54843a4c907b21a240051","records":[{"revision":"9ea0ae3c27f54843a4c907b21a240051","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-2004","aliases":[],"title":"Usage of disabled protocol","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.","state":0,"publishedAt":"2024-03-27T07:54:27.157+00:00","modifiedAt":"2026-10-15T00:21:19.167+00:00","affected":[{"ecosystem":"Vendor product","name":"curl","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"curl\",\n                    \"product\": \"curl\",\n                    \"versions\": [\n                        {\n                            \"version\": \"8.6.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.6.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"8.5.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.5.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"8.4.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.4.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"8.3.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.3.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"8.2.1\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.2.1\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"8.2.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.2.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"8.1.2\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.1.2\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"8.1.1\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.1.1\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"8.1.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.1.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"8.0.1\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.0.1\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"8.0.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"8.0.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.88.1\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"7.88.1\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.88.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"7.88.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.87.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"7.87.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.86.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"7.86.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.85.0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"7.85.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[],"references":["https://curl.se/docs/CVE-2024-2004.json","https://curl.se/docs/CVE-2024-2004.html","https://hackerone.com/reports/2384833","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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-2004","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-2004","identifiers":["CVE-2024-2004"]},"retained":false,"historicalAffected":[]}],"coverage":[]}