CVE catalog

CVE-2023-23934

python-werkzeug: CVE-2023-23934

[CVE catalog]

Severity
Low · CVSS 2.6CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.51% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-werkzeugsid3.1.9-1fixed
Debianpython-werkzeugforky3.1.9-1fixed
Debianpython-werkzeugtrixie3.1.3-2fixed
Debianpython-werkzeugbookworm2.2.2-3+deb12u1fixed
Ubuntupython-werkzeugpro0.10.4+dfsg1-1ubuntu1vulnerable
Ubuntupython-werkzeugpro0.10.4+dfsg1-1ubuntu1.1vulnerable
Ubuntupython-werkzeugpro0.10.4+dfsg1-1ubuntu1.2vulnerable
Ubuntupython-werkzeugpro0.10.4+dfsg1-1ubuntu1.2+esm1fixed
Ubuntupython-werkzeug18.040.12.2+dfsg1-2vulnerable
Ubuntupython-werkzeug18.040.13+dfsg1-1vulnerable
Ubuntupython-werkzeug18.040.14.1+dfsg1-1vulnerable
Ubuntupython-werkzeug18.040.14.1+dfsg1-1ubuntu0.1vulnerable
Ubuntupython-werkzeug18.040.14.1+dfsg1-1ubuntu0.2fixed
Ubuntupython-werkzeug20.040.14.1+dfsg1-4vulnerable
Ubuntupython-werkzeug20.040.15.6+dfsg1-1vulnerable
Ubuntupython-werkzeug20.040.16.0+dfsg1-1vulnerable
Ubuntupython-werkzeug20.040.16.1+dfsg1-1ubuntu1vulnerable
Ubuntupython-werkzeug20.040.16.1+dfsg1-2vulnerable
Ubuntupython-werkzeug20.040.16.1+dfsg1-2ubuntu0.1fixed
Ubuntupython-werkzeug22.041.0.1+dfsg1-2vulnerable
Ubuntupython-werkzeug22.042.0.2+dfsg1-1vulnerable
Ubuntupython-werkzeug22.042.0.2+dfsg1-1ubuntu0.22.04.1fixed
Ubuntupython-werkzeugpro0.10.4+dfsg1-1ubuntu1vulnerable
Ubuntupython-werkzeugpro0.10.4+dfsg1-1ubuntu1.1vulnerable
Ubuntupython-werkzeugpro0.10.4+dfsg1-1ubuntu1.2vulnerable
Ubuntupython-werkzeugpro0.10.4+dfsg1-1ubuntu1.2+esm1fixed
Ubuntupython-werkzeug18.040.12.2+dfsg1-2vulnerable
Ubuntupython-werkzeug18.040.13+dfsg1-1vulnerable
Ubuntupython-werkzeug18.040.14.1+dfsg1-1vulnerable
Ubuntupython-werkzeug18.040.14.1+dfsg1-1ubuntu0.1vulnerable
Ubuntupython-werkzeug18.040.14.1+dfsg1-1ubuntu0.2fixed
Ubuntupython-werkzeug20.040.14.1+dfsg1-4vulnerable
Ubuntupython-werkzeug20.040.15.6+dfsg1-1vulnerable
Ubuntupython-werkzeug20.040.16.0+dfsg1-1vulnerable
Ubuntupython-werkzeug20.040.16.1+dfsg1-1ubuntu1vulnerable
Ubuntupython-werkzeug20.040.16.1+dfsg1-2vulnerable
Ubuntupython-werkzeug20.040.16.1+dfsg1-2ubuntu0.1fixed
Ubuntupython-werkzeug22.041.0.1+dfsg1-2vulnerable
Ubuntupython-werkzeug22.042.0.2+dfsg1-1vulnerable
Ubuntupython-werkzeug22.042.0.2+dfsg1-1ubuntu0.22.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-werkzeugsourcesid2.2.2-3not yet assignedNot reported[1031370]
Debianpython-werkzeugsourceforky2.2.2-3not yet assignedNot reported[1031370]
Debianpython-werkzeugsourcetrixie2.2.2-3not yet assignedNot reported[1031370]
Debianpython-werkzeugsourcebookworm2.2.2-3not yet assignedNot reported[1031370]
Ubuntupython-werkzeugdebpro0.10.4+dfsg1-1ubuntu1.2+esm1Not reportedUSN-5948-1Not reported
Ubuntupython-werkzeugdeb18.040.14.1+dfsg1-1ubuntu0.2Not reportedUSN-5948-1Not reported
Ubuntupython-werkzeugdeb20.040.16.1+dfsg1-2ubuntu0.1Not reportedUSN-5948-1Not reported
Ubuntupython-werkzeugdeb22.042.0.2+dfsg1-1ubuntu0.22.04.1Not reportedUSN-5948-1Not reported
Ubuntupython-werkzeugdebpro0.10.4+dfsg1-1ubuntu1.2+esm1Not reportedUBUNTU-CVE-2023-23934Not reported
Ubuntupython-werkzeugdeb18.040.14.1+dfsg1-1ubuntu0.2Not reportedUBUNTU-CVE-2023-23934Not reported
Ubuntupython-werkzeugdeb20.040.16.1+dfsg1-2ubuntu0.1Not reportedUBUNTU-CVE-2023-23934Not reported
Ubuntupython-werkzeugdeb22.042.0.2+dfsg1-1ubuntu0.22.04.1Not reportedUBUNTU-CVE-2023-23934Not reported

[Debian bug #1031370]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References