{"answers":{"affected":"3 open source packages ship an affected version, including werkzeug and Werkzeug. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-23934 in the wild and no public exploit code.","fix":"Upgrade werkzeug to 2.2.3 or later.","what":"CVE-2023-23934 is a low-severity vulnerability in pallets werkzeug, published on 14 Feb 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-23934 and fix it if it is affected.\n\nWhat it is: CVE-2023-23934 is a low-severity vulnerability in pallets werkzeug, published on 14 Feb 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-23934 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- werkzeug (PyPI): affected all versions; fixed in 2.2.3\n- werkzeug (PyPI): affected all versions; fixed in 2.2.3\n- Werkzeug (PyPI): affected all versions; fixed in 2.2.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-23934/ (Markdown: https://insights.sbomify.com/CVE-2023-23934/index.md)","id":"CVE-2023-23934","markdown":"https://insights.sbomify.com/CVE-2023-23934/index.md","name":"CVE-2023-23934","record":{"aliases":["AZL-13589","CLSA-2026-1772410266","DEBIAN-CVE-2023-23934","GHSA-px8h-6qxv-m22q","PYSEC-2023-57","UBUNTU-CVE-2023-23934"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python web library","requires_auth":"none","summary":"Attackers can bypass __Host- cookie security restrictions via nameless cookies, allowing session fixation or hijacking in Werkzeug applications.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"werkzeug","vendor":"palletsprojects"}],"cvss":{"score":2.6,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Wrkzeug's incorrect parsing of nameless cookies leads to __Host- cookies bypass","id":"CVE-2023-23934","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"security_feature_bypass","year":"2023"},"n_packages":3,"n_references":5,"next":{"headline":"Presence of restricted personal Discourse messages may be leaked if tagged with a tag","id":"CVE-2023-23935"},"packages":[{"ecosystem":"PyPI","fixed":["2.2.3"],"introduced":["0"],"last_affected":[],"package":"Werkzeug","purl":null,"source":"GHSA-px8h-6qxv-m22q"},{"ecosystem":"PyPI","fixed":["2.2.3"],"introduced":["0"],"last_affected":[],"package":"werkzeug","purl":"pkg:pypi/werkzeug","source":"GHSA-px8h-6qxv-m22q"},{"ecosystem":"PyPI","fixed":["2.2.3"],"introduced":["0"],"last_affected":[],"package":"werkzeug","purl":"pkg:pypi/werkzeug","source":"PYSEC-2023-57"}],"prev":{"headline":"Issue in Anomaly Detection with document and field level rules in numerical feature aggregations","id":"CVE-2023-23933"},"products":["werkzeug"],"published":"2023-02-14","related":[{"cvss_score":9.8,"headline":"Other in n/a","id":"CVE-2022-29361","kev_date_added":null,"published":"2022-05-24"},{"cvss_score":8,"headline":"Werkzeug DoS: High resource usage when parsing multipart/form-data containing a large part with CR/LF character at the beginning","id":"CVE-2023-46136","kev_date_added":null,"published":"2023-10-24"},{"cvss_score":7.5,"headline":"Werkzeug may allow high resource usage when parsing multipart form data with many fields","id":"CVE-2023-25577","kev_date_added":null,"published":"2023-02-14"},{"cvss_score":7.5,"headline":"Pallets Werkzeug vulnerable to Path Traversal","id":"CVE-2019-14322","kev_date_added":null,"published":"2019-07-28"},{"cvss_score":6.3,"headline":"Werkzeug safe_join() allows Windows special device names","id":"CVE-2026-27199","kev_date_added":null,"published":"2026-02-21"},{"cvss_score":6.3,"headline":"Werkzeug safe_join() allows Windows special device names with compound extensions","id":"CVE-2026-21860","kev_date_added":null,"published":"2026-01-08"},{"cvss_score":6.3,"headline":"Werkzeug safe_join() allows Windows special device names","id":"CVE-2025-66221","kev_date_added":null,"published":"2025-11-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-10","vendors":["pallets"]},"summary":"Attackers can bypass __Host- cookie security restrictions via nameless cookies, allowing session fixation or hijacking in Werkzeug applications.","url":"https://insights.sbomify.com/CVE-2023-23934/"}