Vulnerability Details : 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 category: Input validation
Products affected by CVE-2023-23934
- cpe:2.3:a:palletsprojects:werkzeug:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-23934
0.23%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 46 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-23934
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
3.5
|
LOW | CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
2.1
|
1.4
|
NIST | |
2.6
|
LOW | CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N |
1.2
|
1.4
|
GitHub, Inc. |
CWE ids for CVE-2023-23934
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-23934
-
https://github.com/pallets/werkzeug/commit/cf275f42acad1b5950c50ffe8ef58fe62cdce028
Merge pull request from GHSA-px8h-6qxv-m22q · pallets/werkzeug@cf275f4 · GitHubPatch
-
https://github.com/pallets/werkzeug/releases/tag/2.2.3
Release 2.2.3 · pallets/werkzeug · GitHubRelease Notes
-
https://www.debian.org/security/2023/dsa-5470
Debian -- Security Information -- DSA-5470-1 python-werkzeug
-
https://security.netapp.com/advisory/ntap-20230818-0003/
February 2023 Werkzeug Vulnerabilities in NetApp Products | NetApp Product Security
-
https://github.com/pallets/werkzeug/security/advisories/GHSA-px8h-6qxv-m22q
cookie prefixed with `=` can shadow unprefixed cookie · Advisory · pallets/werkzeug · GitHubVendor Advisory
Jump to