QID 355411

Date Published: 2023-06-14

QID 355411: Amazon Linux Security Advisory for python-flask : ALAS2023-2023-183

Flask is a lightweight wsgi web application framework.
When all of the following conditions are met, a response containing data intended for one client may be cached and subsequently sent by the proxy to other clients.
If the proxy also caches `set-cookie` headers, it may send one client's `session` cookie to other clients.
The severity depends on the application's use of the session and the proxy's behavior regarding cookies.
This happens because vulnerable versions of flask only set the `vary: cookie` header when the session is accessed or modified, not when it is refreshed (re-sent to update the expiration) without being accessed or modified.
This issue has been fixed in versions 2.3.2 and 2.2.5. (
( CVE-2023-30861)



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 High - 7.5 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-183 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355411

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