CVE-2024-6221 Affecting py3-flask-cors package, versions <4.0.2-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.08% (38th 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-WOLFILATEST-PY3FLASKCORS-7855685
  • published31 Aug 2024
  • disclosed18 Aug 2024

Introduced: 18 Aug 2024

CVE-2024-6221  (opens in a new tab)

How to fix?

Upgrade Wolfi py3-flask-cors to version 4.0.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3-flask-cors package and not the py3-flask-cors package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.

CVSS Scores

version 3.1