NetSight
high7.5

CVE-2024-6221

Flask-CORS allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default

Impact

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, 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.

Affected packages

EcosystemPackageAffectedFixed in
pipFlask-Cors< 4.0.24.0.2

Affected products

VendorProductAffected versions
CorydolphinFlask-Cors
Version 4.0.1

Weakness classification

References