QID 355112

Date Published: 2023-05-29

QID 355112: Amazon Linux Security Advisory for python-werkzeug : ALAS2023-2023-149

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. (
( CVE-2023-23934)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Medium - 3.5 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-149 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355112

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-149 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-149.html