{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2021-22897",
        "ASSIGNER": "support@hackerone.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "https://github.com/curl/curl",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "7.61.0 through 7.76.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Business Logic Errors (CWE-840)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://hackerone.com/reports/1172857",
                "url": "https://hackerone.com/reports/1172857"
            },
            {
                "refsource": "MISC",
                "name": "https://curl.se/docs/CVE-2021-22897.html",
                "url": "https://curl.se/docs/CVE-2021-22897.html"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/curl/curl/commit/bbb71507b7bab52002f9b1e0880bed6a32834511",
                "url": "https://github.com/curl/curl/commit/bbb71507b7bab52002f9b1e0880bed6a32834511"
            },
            {
                "url": "https://www.oracle.com//security-alerts/cpujul2021.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com//security-alerts/cpujul2021.html"
            },
            {
                "url": "https://www.oracle.com/security-alerts/cpujan2022.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/security-alerts/cpujan2022.html"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20210727-0007/",
                "url": "https://security.netapp.com/advisory/ntap-20210727-0007/"
            },
            {
                "url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/security-alerts/cpuapr2022.html"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf",
                "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "curl 7.61.0 through 7.76.1 suffers from exposure of data element to wrong session due to a mistake in the code for CURLOPT_SSL_CIPHER_LIST when libcurl is built to use the Schannel TLS library. The selected cipher set was stored in a single \"static\" variable in the library, which has the surprising side-effect that if an application sets up multiple concurrent transfers, the last one that sets the ciphers will accidentally control the set used by all transfers. In a worst-case scenario, this weakens transport security significantly."
            }
        ]
    }
}