PT-2023-2612 · Werkzeug+5 · Werkzeug+5

Lavish

·

Published

2023-02-14

·

Updated

2025-04-11

·

CVE-2023-23934

CVSS v3.1

3.5

Low

VectorAV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions Werkzeug versions prior to 2.2.3
Description The issue is related to how Werkzeug handles "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 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.
Recommendations For Werkzeug versions prior to 2.2.3, update to version 2.2.3 to resolve the issue. As a temporary workaround, consider restricting access to the vulnerable subdomain to minimize the risk of exploitation. Avoid using vulnerable browsers that allow "nameless" cookies.

Exploit

Fix

RCE

Weakness Enumeration

Related Identifiers

ALT-PU-2023-7835
ALT-PU-2025-3304
AZL-13589
BDU:2023-02449
CVE-2023-23934
DLA-3346-1
DSA-5470-1
GHSA-PX8H-6QXV-M22Q
OESA-2023-1515
PYSEC-2023-57
RHSA-2023:1018
RHSA-2025:4664
RHSA-2025:9775
ROSA-SA-2024-2530
USN-5948-1
USN-5948-2

Affected Products

Alt Linux
Astra Linux
Linuxmint
Red Os
Ubuntu
Werkzeug