Improper Input Validation Affecting python3-werkzeug-doc package, versions <0:1.0.1-5.amzn2023.0.4


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.51% (40th percentile)

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 IDSNYK-AMZN2023-PYTHON3WERKZEUGDOC-5411163
  • published5 Apr 2023
  • disclosed14 Feb 2023

Introduced: 14 Feb 2023

CVE-2023-23934  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3-werkzeug-doc to version 0:1.0.1-5.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2023-149.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-werkzeug-doc package and not the python3-werkzeug-doc package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1