VDB

CVE-2024-6839

CVE-2024-6839 PUBLISHED CVSS 4.3 MEDIUM

Improper Regex Path Matching in corydolphin/flask-cors

Reported by @huntr_ai · Published March 20, 2025

flask-cors is fixed in 6.0.0 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
flask-corsPyPI6.0.0
kubeflow-jupyter-web-appWolfi1.10.0-r3
kubeflow-volumes-web-appWolfi1.10.0-r2
superset-6.0Chainguard6.0.0-r2
kubeflow-jupyter-web-appChainguard1.10.0-r3
superset-6.0Wolfi6.0.0-r2
kubeflow-volumes-web-appChainguard1.10.0-r2
corydolphin/flask-corscorydolphinlatest

Risk scores

CVSS 3.0
4.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
corydolphincorydolphin/flask-corsunspecified
wolfikubeflow-jupyter-web-app0
wolfikubeflow-volumes-web-app0
chainguardsuperset-6.00
chainguardkubeflow-jupyter-web-app0
PyPIflask-cors0
wolfisuperset-6.00
corydolphincorydolphin/flask-cors*
chainguardkubeflow-volumes-web-app0

Timeline

  • Mar 20, 2025 CVE Published
  • Mar 20, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 21, 2025 Coalition ESS Score (18 in total, the first dated here)
  • Mar 9, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-6839
vulnetix vdb fixes CVE-2024-6839

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-6839/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›