Access Restriction Bypass Affecting werkzeug package, versions [,2.2.3)


0.0
low

Snyk CVSS

    Attack Complexity High
    User Interaction Required

    Threat Intelligence

    EPSS 0.05% (19th percentile)
Expand this section
NVD
3.5 low
Expand this section
Red Hat
2.6 low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-WERKZEUG-3319935
  • published 15 Feb 2023
  • disclosed 15 Feb 2023
  • credit Marco Squarcina

How to fix?

Upgrade werkzeug to version 2.2.3 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass that allows a malicious application on an adjacent subdomain to present "nameless" cookies that look like =value instead of key=value and have them accepted by the affected browser. For example, a cookie like =__Host-test=bad would be parsed as __Host-test=bad and the key treated as valid while the value is ignored.