{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-2004",
        "ASSIGNER": "cve@curl.se",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-115 Misinterpretation of Input "
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "curl",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "curl",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "version_name": "8.6.0",
                                            "version_value": "8.6.0"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "8.5.0",
                                            "version_value": "8.5.0"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "8.4.0",
                                            "version_value": "8.4.0"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "8.3.0",
                                            "version_value": "8.3.0"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "8.2.1",
                                            "version_value": "8.2.1"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "8.2.0",
                                            "version_value": "8.2.0"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "8.1.2",
                                            "version_value": "8.1.2"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "8.1.1",
                                            "version_value": "8.1.1"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "8.1.0",
                                            "version_value": "8.1.0"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "8.0.1",
                                            "version_value": "8.0.1"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "8.0.0",
                                            "version_value": "8.0.0"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "7.88.1",
                                            "version_value": "7.88.1"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "7.88.0",
                                            "version_value": "7.88.0"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "7.87.0",
                                            "version_value": "7.87.0"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "7.86.0",
                                            "version_value": "7.86.0"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "7.85.0",
                                            "version_value": "7.85.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://curl.se/docs/CVE-2024-2004.json",
                "refsource": "MISC",
                "name": "https://curl.se/docs/CVE-2024-2004.json"
            },
            {
                "url": "https://curl.se/docs/CVE-2024-2004.html",
                "refsource": "MISC",
                "name": "https://curl.se/docs/CVE-2024-2004.html"
            },
            {
                "url": "https://hackerone.com/reports/2384833",
                "refsource": "MISC",
                "name": "https://hackerone.com/reports/2384833"
            },
            {
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GMD6UYKCCRCYETWQZUJ65ZRFULT6SHLI/",
                "refsource": "MISC",
                "name": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GMD6UYKCCRCYETWQZUJ65ZRFULT6SHLI/"
            },
            {
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2D44YLAUFJU6BZ4XFG2FYV7SBKXB5IZ6/",
                "refsource": "MISC",
                "name": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2D44YLAUFJU6BZ4XFG2FYV7SBKXB5IZ6/"
            },
            {
                "url": "http://www.openwall.com/lists/oss-security/2024/03/27/1",
                "refsource": "MISC",
                "name": "http://www.openwall.com/lists/oss-security/2024/03/27/1"
            },
            {
                "url": "https://security.netapp.com/advisory/ntap-20240524-0006/",
                "refsource": "MISC",
                "name": "https://security.netapp.com/advisory/ntap-20240524-0006/"
            },
            {
                "url": "https://support.apple.com/kb/HT214119",
                "refsource": "MISC",
                "name": "https://support.apple.com/kb/HT214119"
            },
            {
                "url": "https://support.apple.com/kb/HT214118",
                "refsource": "MISC",
                "name": "https://support.apple.com/kb/HT214118"
            },
            {
                "url": "https://support.apple.com/kb/HT214120",
                "refsource": "MISC",
                "name": "https://support.apple.com/kb/HT214120"
            },
            {
                "url": "http://seclists.org/fulldisclosure/2024/Jul/20",
                "refsource": "MISC",
                "name": "http://seclists.org/fulldisclosure/2024/Jul/20"
            },
            {
                "url": "http://seclists.org/fulldisclosure/2024/Jul/18",
                "refsource": "MISC",
                "name": "http://seclists.org/fulldisclosure/2024/Jul/18"
            },
            {
                "url": "http://seclists.org/fulldisclosure/2024/Jul/19",
                "refsource": "MISC",
                "name": "http://seclists.org/fulldisclosure/2024/Jul/19"
            }
        ]
    },
    "credits": [
        {
            "lang": "en",
            "value": "Dan Fandrich"
        },
        {
            "lang": "en",
            "value": "Daniel Gustafsson"
        }
    ]
}