SCA: security update for flask-cors (GHSA-8vgw-p6qm-5gr7)

medium Tenable Cloud Security Plugin ID 427720

Description

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

- A vulnerability in corydolphin/flask-cors version 4.0.1 allows for inconsistent CORS matching due to the
handling of the '+' character in URL paths. The request.path is passed through the unquote_plus function,
which converts the '+' character to a space ' '. This behavior leads to incorrect path normalization,
causing potential mismatches in CORS configuration. As a result, endpoints may not be matched correctly to
their CORS settings, leading to unexpected CORS policy application. This can cause unauthorized cross-
origin access or block valid requests, creating security vulnerabilities and usability issues.
(CVE-2024-6844)

See Also

https://github.com/advisories/GHSA-8vgw-p6qm-5gr7

Plugin Details

Severity: Medium

ID: 427720

Version: Revision 1.14

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-6844

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-6844

cwe: CWE-346