SCA: security update for flask-cors (GHSA-7rxf-gvfg-47g4)

medium Tenable Cloud Security Plugin ID 427719

Description

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

- corydolphin/flask-cors version 4.0.1 contains an improper regex path matching vulnerability. The plugin
prioritizes longer regex patterns over more specific ones when matching paths, which can lead to less
restrictive CORS policies being applied to sensitive endpoints. This mismatch in regex pattern priority
allows unauthorized cross-origin access to sensitive data or functionality, potentially exposing
confidential information and increasing the risk of unauthorized actions by malicious actors.
(CVE-2024-6839)

See Also

https://github.com/advisories/GHSA-7rxf-gvfg-47g4

Plugin Details

Severity: Medium

ID: 427719

Version: Revision 1.10

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: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2024-6839

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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-6839

cwe: CWE-41