Synopsis
The remote Debian host is missing one or more security-related updates.
Description
The remote Debian 11 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-4197 advisory.
------------------------------------------------------------------------- Debian LTS Advisory DLA-4197-1 [email protected] 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
Tenable has extracted the preceding description block directly from the Debian security advisory.
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.
Solution
Upgrade the python3-flask-cors packages.
Plugin Details
File Name: debian_DLA-4197.nasl
Agent: unix
Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus
Risk Information
Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:N/A:N
Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C
Vulnerability Information
CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:python3-flask-cors
Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l
Exploit Ease: No known exploits are available
Patch Publication Date: 5/31/2025
Vulnerability Publication Date: 4/19/2024