[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SECURITY] [DLA 4197-1] python-flask-cors security update



-------------------------------------------------------------------------
Debian LTS Advisory DLA-4197-1                debian-lts@lists.debian.org
https://www.debian.org/lts/security/                       Daniel Leidert
May 31, 2025                                  https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package        : python-flask-cors
Version        : 3.0.9-2+deb11u1
CVE ID         : CVE-2024-1681 CVE-2024-6839 CVE-2024-6844 CVE-2024-6866
Debian Bug     : 1069764 1100988

Multiple security issues were discovered in Flask-CORS, a Flask
extension for handling Cross Origin Resource Sharing (CORS).

CVE-2024-1681

   Due to a log injection vulnerability when the log level is set to
   debug, an attacker can inject fake log entries into the log file by
   sending a specially crafted GET request containing a CRLF sequence
   in the request path.

CVE-2024-6839

   An improper regex path matching vulnerability due to prioritizing
   longer regex patterns over more specific ones when matching paths,
   can lead to less restrictive CORS policies being applied to
   sensitive endpoints. 

CVE-2024-6844

   An inconsistent CORS matching due to the handling of the '+'
   character in URL paths leads to incorrect path normalization,
   causing potential mismatches in CORS configuration.

CVE-2024-6866

   The request path matching is case-insensitive. This results in a
   mismatch because paths in URLs are case-sensitive. This
   misconfiguration can lead to significant security vulnerabilities,
   allowing unauthorized origins to access paths meant to be
   restricted.

For Debian 11 bullseye, these problems have been fixed in version
3.0.9-2+deb11u1.

We recommend that you upgrade your python-flask-cors packages.

For the detailed security status of python-flask-cors please refer to
its security tracker page at:
https://security-tracker.debian.org/tracker/python-flask-cors

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: