3.5
CWE
20
Advisory Published
Advisory Published
Updated

CVE-2023-23934: Wrkzeug's incorrect parsing of nameless cookies leads to __Host- cookies bypass

First published: Tue Feb 14 2023(Updated: )

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 <= 2.2.2 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.

Credit: security-advisories@github.com security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Palletsprojects Werkzeug<2.2.3
debian/python-werkzeug<=1.0.1+dfsg1-2<=2.2.2-2
debian/python-werkzeug<=0.14.1+dfsg1-4+deb10u1
0.14.1+dfsg1-4+deb10u2
1.0.1+dfsg1-2+deb11u1
2.2.2-3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2023-23934?

    CVE-2023-23934 is a vulnerability in Werkzeug that allows browsers to allow nameless cookies.

  • Which browsers are affected by CVE-2023-23934?

    Any vulnerable browser that allows "nameless" cookies can be affected.

  • What is the severity of CVE-2023-23934?

    The severity of CVE-2023-23934 is low, with a severity score of 3.5.

  • How can I fix CVE-2023-23934?

    To fix CVE-2023-23934, update to Werkzeug version 2.2.3 or later.

  • Where can I find more information about CVE-2023-23934?

    You can find more information about CVE-2023-23934 on the official GitHub page of Pallets Werkzeug.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203