Improper Verification of Source of a Communication Channel Affecting flask-cors package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.03% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-FLASKCORS-9668953
  • published7 Apr 2025
  • disclosed20 Mar 2025
  • credittomorrowisnew_

Introduced: 20 Mar 2025

NewCVE-2024-6839  (opens in a new tab)
CWE-940  (opens in a new tab)

How to fix?

There is no fixed version for Flask-Cors.

Overview

Flask-Cors is an A Flask extension adding a decorator for CORS support

Affected versions of this package are vulnerable to Improper Verification of Source of a Communication Channel due to improper application of regex path matching rules. An attacker can gain unauthorized cross-origin access to sensitive data or functionality by exploiting the prioritization of longer regex patterns over more specific ones, leading to less restrictive CORS policies being applied to sensitive endpoints.

CVSS Base Scores

version 4.0
version 3.1