CVE-2024-6221

high
Published 2024-08-18 · Modified 2026-05-19
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v2
VIR risk
8.0

Description

A vulnerability in corydolphin/flask-cors up to version 4.0.1 allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default, without any configuration option. 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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2024-6221

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed0
debian debianbullseyefixed0
debian debianforkyfixed5.0.0-1
debian debiansidfixed5.0.0-1
debian debiantrixiefixed5.0.0-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIflask-cors<4.0.24.0.2
python PyPIflask-cors<=4.0.1
PIPFlask-Cors< 4.0.24.0.2

References

Verify integrity in audit chain (admin only). AS-IS.