CVE-2023-23934

EUVD-2023-0281
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
2.6 LOW
ADJACENT_NETWORK
HIGH
NONE
CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
GitHub_MCNA
2.6 LOW
ADJACENT_NETWORK
HIGH
NONE
CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 49%
Affected Products (NVD)
VendorProductVersion
palletsprojectswerkzeug
𝑥
< 2.2.3
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
python-werkzeug
bookworm
2.2.2-3
fixed
bullseye
1.0.1+dfsg1-2+deb11u1
fixed
bullseye (security)
1.0.1+dfsg1-2+deb11u1
fixed
sid
3.1.3-2
fixed
trixie
3.1.3-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python-werkzeug
bionic
Fixed 0.14.1+dfsg1-1ubuntu0.2
released
focal
Fixed 0.16.1+dfsg1-2ubuntu0.1
released
jammy
Fixed 2.0.2+dfsg1-1ubuntu0.22.04.1
released
kinetic
Fixed 2.0.2+dfsg1-3ubuntu0.22.10.1
released
lunar
Fixed 2.2.2-2ubuntu0.1
released
trusty
ignored
xenial
Fixed 0.10.4+dfsg1-1ubuntu1.2+esm1
released