{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2021-21240",
        "STATE": "PUBLIC",
        "TITLE": "Regular Expression Denial of Service in httplib2"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "httplib2",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 0.19.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "httplib2"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "httplib2 is a comprehensive HTTP client library for Python. In httplib2 before version 0.19.0, a malicious server which responds with long series of \"\\xa0\" characters in the \"www-authenticate\" header may cause Denial of Service (CPU burn while parsing header) of the httplib2 client accessing said server. This is fixed in version 0.19.0 which contains a new implementation of auth headers parsing using the pyparsing library."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-400 Uncontrolled Resource Consumption"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m",
                "refsource": "CONFIRM",
                "url": "https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m"
            },
            {
                "name": "https://github.com/httplib2/httplib2/pull/182",
                "refsource": "MISC",
                "url": "https://github.com/httplib2/httplib2/pull/182"
            },
            {
                "name": "https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc",
                "refsource": "MISC",
                "url": "https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc"
            },
            {
                "name": "https://pypi.org/project/httplib2",
                "refsource": "MISC",
                "url": "https://pypi.org/project/httplib2"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-93xj-8mrv-444m",
        "discovery": "UNKNOWN"
    }
}