CVE-2023-23934
LOW2.6EPSS 0.27%python-werkzeug - security update
Published: 2/15/2023Modified: 4/28/2026
Description
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.
Affected packages (5)
- Debian/python-werkzeugfrom 0, < 1.0.1+dfsg1-2+deb11u1
- Debian/python-werkzeugfrom 0, < 0.14.1+dfsg1-4+deb10u2
- Debian/python-werkzeugfrom 0, < 1.0.1+dfsg1-2+deb11u1
- PyPI/werkzeugfrom 0, < 2.2.3
- PyPI/werkzeugfrom 0, < cf275f42acad1b5950c50ffe8ef58fe62cdce028 | from 0, < 2.2.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | LOW2.6 | CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-23934
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-23934
- PATCHhttps://github.com/pallets/werkzeug
- WEBhttps://github.com/pallets/werkzeug/commit/cf275f42acad1b5950c50ffe8ef58fe62cdce028
- WEBhttps://github.com/pallets/werkzeug/releases/tag/2.2.3
- WEBhttps://github.com/pallets/werkzeug/security/advisories/GHSA-px8h-6qxv-m22q
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/werkzeug/PYSEC-2023-57.yaml
- WEBhttps://security.netapp.com/advisory/ntap-20230818-0003
- WEBhttps://www.debian.org/security/2023/dsa-5470