{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "CVE_data_meta": {
        "ID": "CVE-2021-32837",
        "ASSIGNER": "security-advisories@github.com",
        "DATE_PUBLIC": "",
        "TITLE": "mechanize vulnerable to ReDoS",
        "AKA": "",
        "STATE": "PUBLIC"
    },
    "source": {
        "defect": [
            "GHSL-2021-108"
        ],
        "advisory": "GHSL-2021-108",
        "discovery": "UNKNOWN"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "python-mechanize",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "mechanize",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_name": "0.4.6",
                                            "version_affected": "<",
                                            "version_value": "0.4.6",
                                            "platform": ""
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-1333 Inefficient Regular Expression Complexity"
                    }
                ]
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "mechanize, a library for automatically interacting with HTTP web servers, contains a regular expression that is vulnerable to regular expression denial of service (ReDoS) prior to version 0.4.6. If a web server responds in a malicious way, then mechanize could crash. Version 0.4.6 has a patch for the issue."
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "CONFIRM",
                "url": "https://securitylab.github.com/advisories/GHSL-2021-108-python-mechanize-mechanize/",
                "name": "https://securitylab.github.com/advisories/GHSL-2021-108-python-mechanize-mechanize/"
            },
            {
                "refsource": "MISC",
                "url": "https://github.com/python-mechanize/mechanize/blob/3acb1836f3fd8edc5a758a417dd46b53832ae3b5/mechanize/_urllib2_fork.py#L878-L879",
                "name": "https://github.com/python-mechanize/mechanize/blob/3acb1836f3fd8edc5a758a417dd46b53832ae3b5/mechanize/_urllib2_fork.py#L878-L879"
            },
            {
                "refsource": "MISC",
                "url": "https://github.com/python-mechanize/mechanize/releases/tag/v0.4.6",
                "name": "https://github.com/python-mechanize/mechanize/releases/tag/v0.4.6"
            },
            {
                "refsource": "MISC",
                "url": "https://github.com/python-mechanize/mechanize/commit/dd05334448e9f39814bab044d2eaa5ef69b410d6",
                "name": "https://github.com/python-mechanize/mechanize/commit/dd05334448e9f39814bab044d2eaa5ef69b410d6"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20230620 [SECURITY] [DLA 3460-1] python-mechanize security update",
                "url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00022.html"
            }
        ]
    },
    "configuration": [],
    "impact": {
        "cvss": {
            "version": "3.1",
            "attackVector": "NETWORK",
            "attackComplexity": "LOW",
            "privilegesRequired": "NONE",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "availabilityImpact": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "baseScore": 7.5,
            "baseSeverity": "HIGH"
        }
    },
    "exploit": [],
    "work_around": [],
    "solution": [],
    "credit": []
}