Improper input validation in Pallets Werkzeug
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 2.6 (Low). Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.005 (42.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 42nd percentile — 42.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Pallets Werkzeug — versions < 2.2.3
- Palletsprojects Werkzeug
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/pallets/werkzeug/security/advisories/GHSA-px8h-6qxv-m22q (Vendor Advisory)
- github.com/pallets/werkzeug/commit/cf275f42acad1b5950c50ffe8ef58fe62cdce028 (Patch)
- github.com/pallets/werkzeug/releases/tag/2.2.3 (Release Notes)
- www.debian.org/security/2023/dsa-5470
- security.netapp.com/advisory/ntap-20230818-0003/
Frequently asked questions
- What is CVE-2023-23934?
- CVE-2023-23934 is a low-severity vulnerability in Pallets Werkzeug, classified under Improper Input Validation. CVSS score: 2.6/10. Published 2023-02-14.
- How severe is CVE-2023-23934?
- Low severity. CVSS v3 base score is 2.6 out of 10.
- Is CVE-2023-23934 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.