{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-21712",
        "STATE": "PUBLIC",
        "TITLE": "Cookie and header exposure in twisted"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "twisted",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": ">= 11.1, < 22.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "twisted"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "twisted is an event-driven networking engine written in Python. In affected versions twisted exposes cookies and authorization headers when following cross-origin redirects. This issue is present in the `twited.web.RedirectAgent` and `twisted.web. BrowserLikeRedirectAgent` functions. Users are advised to upgrade. There are no known workarounds."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/twisted/twisted/security/advisories/GHSA-92x2-jw7w-xvvx",
                "refsource": "CONFIRM",
                "url": "https://github.com/twisted/twisted/security/advisories/GHSA-92x2-jw7w-xvvx"
            },
            {
                "name": "https://github.com/twisted/twisted/commit/af8fe78542a6f2bf2235ccee8158d9c88d31e8e2",
                "refsource": "MISC",
                "url": "https://github.com/twisted/twisted/commit/af8fe78542a6f2bf2235ccee8158d9c88d31e8e2"
            },
            {
                "name": "https://github.com/twisted/twisted/releases/tag/twisted-22.1.0",
                "refsource": "MISC",
                "url": "https://github.com/twisted/twisted/releases/tag/twisted-22.1.0"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20220219 [SECURITY] [DLA 2927-1] twisted security update",
                "url": "https://lists.debian.org/debian-lts-announce/2022/02/msg00021.html"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-71b66d4747",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-9a489fa494",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K/"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202301-02",
                "url": "https://security.gentoo.org/glsa/202301-02"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-92x2-jw7w-xvvx",
        "discovery": "UNKNOWN"
    }
}