cve.bz

CVE-2023-23934 palletsprojects werkzeug: Improper Input Validation

3.5 lowEPSS 0.5%Fix available

Low (3.5) in palletsprojects werkzeug. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in werkzeug 2.2.3.

On this page
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.

Severity

CVSS 3.1

3.5 low
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-03-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-23934 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-23934?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-23934?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-23934 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
palletsprojects:werkzeugbefore 2.2.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-px8h-6qxv-m22qPyPIwerkzeug<2.2.32.2.3
PYSEC-2023-57PyPIwerkzeug<2.2.32.2.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10python-werkzeug0.14.1+dfsg1-4+deb10u2DLA-3346-1
Debian11python-werkzeug1.0.1+dfsg1-2+deb11u1DSA-5470-1
Debian12, 13, 14python-werkzeug2.2.2-3DEBIAN-CVE-2023-23934
Ubuntu18.04:LTSpython-werkzeug0.14.1+dfsg1-1ubuntu0.2UBUNTU-CVE-2023-23934 USN-5948-1
Ubuntu20.04:LTSpython-werkzeug0.16.1+dfsg1-2ubuntu0.1UBUNTU-CVE-2023-23934 USN-5948-1
Ubuntu22.04:LTSpython-werkzeug2.0.2+dfsg1-1ubuntu0.22.04.1UBUNTU-CVE-2023-23934 USN-5948-1
UbuntuPro:16.04:LTSpython-werkzeug0.10.4+dfsg1-1ubuntu1.2+esm1UBUNTU-CVE-2023-23934 USN-5948-1
Red Hatceph_storage:7.1::el8ceph, librbd1, librgw2 and 51 more2:18.2.1-329.el8cpRHSA-2025:4664
Red Hatceph_storage:7.1::el8liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.12-1.el8cpRHSA-2025:4664
Red Hatceph_storage:7.1::el9ceph, cephadm, librbd1 and 53 more2:18.2.1-329.el9cpRHSA-2025:4664
Red Hatceph_storage:7.1::el9liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.12-1.el9cpRHSA-2025:4664
Red Hatceph_storage:8.1::el9ceph, cephadm, librbd1 and 56 more2:19.2.1-222.el9cpRHSA-2025:9775
Red Hatceph_storage:8.1::el9cephadm-ansible1:4.1.4-1.el9cpRHSA-2025:9775
Red Hatceph_storage:8.1::el9liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.12-1.el9cpRHSA-2025:9775
Red Hatopenstack:17.0::el9python-werkzeug, python3-werkzeug0:2.0.1-5.el9ostRHSA-2023:1018
Azure Linux2python-werkzeug2.2.3-1AZL-13589

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Ceph Storage 7.1oath-toolkit-0:2.6.12-1.el8cpFixed 2025-05-07RHSA-2025:4664
Red Hat Ceph Storage 8.1oath-toolkit-0:2.6.12-1.el9cpFixed 2025-06-26RHSA-2025:9775
Red Hat OpenStack Platform 17.0python-werkzeug-0:2.0.1-5.el9ostFixed 2023-02-28RHSA-2023:1018
Red Hat Enterprise Linux 7python-werkzeugOut of support scope
Red Hat Enterprise Linux 8python-werkzeugFix deferred
Red Hat OpenShift Container Platform 4python-werkzeugAffected
Red Hat OpenStack Platform 16.1python-werkzeugFix deferred
Red Hat OpenStack Platform 16.2openstack-designateFix deferred
Red Hat OpenStack Platform 16.2python-werkzeugFix deferred
Red Hat Quay 3quay/quay-rhel8Fix deferred
Red Hat Storage 3python-werkzeugOut of support scope
Red Hat Update Infrastructure 3 for Cloud Providerspython-werkzeugOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-23934.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON