VDB

CVE-2024-6221

CVE-2024-6221 PUBLISHED CVSS 6.5 MEDIUM

Improper Access Control in corydolphin/flask-cors

Reported by @huntr_ai · Published August 18, 2024

flask-cors is fixed in 4.0.2 and 4.0.1 (PyPI)

A vulnerability in corydolphin/flask-cors version 4.0.1 allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default. This behavior can expose private network resources to unauthorized external access, leading to significant security risks such as data breaches, unauthorized access to sensitive information, and potential network intrusions.

Fixed versions

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

PackageEcosystemFixed in
flask-corsPyPI4.0.2, 4.0.1
kubeflow-volumes-web-appChainguard1.9.1-r0
kubeflow-jupyter-web-appChainguard1.9.1-r0
kubeflow-volumes-web-appWolfi1.9.1-r0
py3-flask-corsChainguard4.0.2-r0
kubeflow-jupyter-web-appWolfi1.9.1-r0
py3-flask-corsWolfi4.0.2-r0
corydolphin/flask-corscorydolphin5.0.0

Risk scores

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

Affected products

VendorProductVersions
corydolphincorydolphin/flask-corsunspecified
corydolphinflask-cors4.0.1
chainguardkubeflow-volumes-web-app0
chainguardkubeflow-jupyter-web-app0
corydolphincorydolphin/flask-cors*
wolfikubeflow-volumes-web-app0
chainguardpy3-flask-cors0
wolfikubeflow-jupyter-web-app0
wolfipy3-flask-cors0
PyPIflask-cors0

Timeline

  • Aug 18, 2024 CVE Published
  • Aug 19, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Feb 4, 2026 CVE Updated
  • Mar 9, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-6221
vulnetix vdb fixes CVE-2024-6221

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-6221/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 ›