{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-23934",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-01-19T21:12:31.360Z",
        "datePublished": "2023-02-14T19:56:22.659Z",
        "dateUpdated": "2024-08-02T10:49:07.628Z"
    },
    "containers": {
        "cna": {
            "title": "Wrkzeug's incorrect parsing of nameless cookies leads to __Host- cookies bypass",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-20",
                            "lang": "en",
                            "description": "CWE-20: Improper Input Validation",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "ADJACENT_NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 2.6,
                        "baseSeverity": "LOW",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/pallets/werkzeug/security/advisories/GHSA-px8h-6qxv-m22q",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/pallets/werkzeug/security/advisories/GHSA-px8h-6qxv-m22q"
                },
                {
                    "name": "https://github.com/pallets/werkzeug/commit/cf275f42acad1b5950c50ffe8ef58fe62cdce028",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/pallets/werkzeug/commit/cf275f42acad1b5950c50ffe8ef58fe62cdce028"
                },
                {
                    "name": "https://github.com/pallets/werkzeug/releases/tag/2.2.3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/pallets/werkzeug/releases/tag/2.2.3"
                },
                {
                    "url": "https://www.debian.org/security/2023/dsa-5470"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20230818-0003/"
                }
            ],
            "affected": [
                {
                    "vendor": "pallets",
                    "product": "werkzeug",
                    "versions": [
                        {
                            "version": "< 2.2.3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-02-14T19:56:22.659Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Werkzeug is a comprehensive WSGI web application library. Browsers may allow \"nameless\" cookies that look like `=value` instead of `key=value`. A vulnerable browser may allow a compromised application on an adjacent subdomain to exploit this to set a cookie like `=__Host-test=bad` for another subdomain. Werkzeug prior to 2.2.3 will parse the cookie `=__Host-test=bad` as __Host-test=bad`. If a Werkzeug application is running next to a vulnerable or malicious subdomain which sets such a cookie using a vulnerable browser, the Werkzeug application will see the bad cookie value but the valid cookie key. The issue is fixed in Werkzeug 2.2.3."
                }
            ],
            "source": {
                "advisory": "GHSA-px8h-6qxv-m22q",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T10:49:07.628Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/pallets/werkzeug/security/advisories/GHSA-px8h-6qxv-m22q",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/pallets/werkzeug/security/advisories/GHSA-px8h-6qxv-m22q"
                    },
                    {
                        "name": "https://github.com/pallets/werkzeug/commit/cf275f42acad1b5950c50ffe8ef58fe62cdce028",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/pallets/werkzeug/commit/cf275f42acad1b5950c50ffe8ef58fe62cdce028"
                    },
                    {
                        "name": "https://github.com/pallets/werkzeug/releases/tag/2.2.3",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/pallets/werkzeug/releases/tag/2.2.3"
                    },
                    {
                        "url": "https://www.debian.org/security/2023/dsa-5470",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20230818-0003/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}