Skip to content
Heist/ feed
Back to feed
LowFix available

python-werkzeug — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-23934

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.

Products
python-werkzeug
Affected versions
Not specified
Fixed versions
2.2.2-3
CVEs
CVE-2023-23934
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:25 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-23934

core-osv · Original source

Published 14 Feb 2023, 20:15 UTC

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.

osv:DEBIAN-CVE-2023-23934

python-werkzeug

Fixed versions: 2.2.2-3

python-werkzeug

Fixed versions: 2.2.2-3

python-werkzeug

Fixed versions: 2.2.2-3

Complete source record
{
  "id": "6dea6ee24fd604d86efa88016a03ec72867c92183d907abb391fff403dba15f6",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-23934",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-23934",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2023-23934",
    "products": [
      {
        "name": {
          "value": "python-werkzeug",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.2.2-3",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python-werkzeug",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.2.2-3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python-werkzeug",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.2.2-3",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "low",
    "structured": {
      "id": "DEBIAN-CVE-2023-23934",
      "aliases": [
        "DEBIAN-CVE-2023-23934"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.2.2-3"
                }
              ]
            }
          ],
          "package": {
            "name": "python-werkzeug",
            "purl": "pkg:deb/debian/python-werkzeug?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-23934.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.2.2-3"
                }
              ]
            }
          ],
          "package": {
            "name": "python-werkzeug",
            "purl": "pkg:deb/debian/python-werkzeug?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-23934.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.2.2-3"
                }
              ]
            }
          ],
          "package": {
            "name": "python-werkzeug",
            "purl": "pkg:deb/debian/python-werkzeug?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-23934.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:00:32.982209053Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-23934"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-23934"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-23934",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 455065,
  "published_at": "2023-02-14T20:15:17.37+00:00"
}