3.5

CVE-2023-23934: Wrkzeug's incorrect parsing of nameless cookies leads to __Host- cookies bypass

Modified
AliasesGHSA-px8h-6qxv-m22qPYSEC-2023-57UBUNTU-CVE-2023-23934
Published 14-02-2023Last modified 10-03-2025

Vulnerability summary

CVE-2023-23934 is a low (CVSS 3.5) Improper Input Validation vulnerability in pallets werkzeug. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 43.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2.6, adjacent network); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
3.5/10
010
Low · v3.1 (NVD)
EPSS score
0.51%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 3

Timeline

  1. 14-02-2023
    PublishedVulnerability first disclosed.
  2. 10-03-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.51%

Chance of exploitation in the next 30 days

Percentile

43%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.51% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: adjacent network, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard1 product
  • kubeflow-pipelines-visualization-server< 2.4.0-r0
Debian1 product
  • python-werkzeug< 2.2.2-3
Pallets1 product
Palletsprojects1 product
PyPI1 product
  • werkzeug< cf275f42acad1b5950c50ffe8ef58fe62cdce028 | < 2.2.3
Ubuntu1 product
  • python-werkzeug< 0.10.4+dfsg1-1ubuntu1.2+esm1 | < 0.14.1+dfsg1-1ubuntu0.2 | < 0.16.1+dfsg1-2ubuntu0.1 | < 2.0.2+dfsg1-1ubuntu0.22.04.1
Wolfi1 product
  • kubeflow-pipelines-visualization-server< 2.4.0-r0

7 vendors · 7 products

References

15 links
Show all 15 references