SCA: security update for flask-cors (GHSA-43qf-4rqw-9q2g)

high Tenable Cloud Security Plugin ID 427718

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- corydolphin/flask-cors version 4.01 contains a vulnerability where the request path matching is case-
insensitive due to the use of the `try_match` function, which is originally intended for matching hosts.
This results in a mismatch because paths in URLs are case-sensitive, but the regex matching treats them as
case-insensitive. This misconfiguration can lead to significant security vulnerabilities, allowing
unauthorized origins to access paths meant to be restricted, resulting in data exposure and potential data
leaks. (CVE-2024-6866)

See Also

https://github.com/advisories/GHSA-43qf-4rqw-9q2g

Plugin Details

Severity: High

ID: 427718

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 5/18/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.67

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2024-6866

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/20/2025

Vulnerability Publication Date: 3/20/2025

Reference Information

CVE: CVE-2024-6866

cwe: CWE-178