CVE-2024-6221: Improper Access Control in corydolphin/flask-cors

Published Aug 18, 2024
·
Updated

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.

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
corydolphin flask-cors=4.0.1
pip/Flask-Cors<4.0.2
4.0.2

Event History

Aug 18, 2024
CVE Published
via MITRE·06:58 PM
Data Sourced
via MITRE·06:58 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·09:31 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-6221?

CVE-2024-6221 has a high severity level due to the risk of unauthorized access to private network resources.

2

How do I fix CVE-2024-6221?

To fix CVE-2024-6221, upgrade Flask-Cors to version 4.0.2 or later.

3

What systems are affected by CVE-2024-6221?

CVE-2024-6221 specifically affects Flask-Cors version 4.0.1.

4

What vulnerabilities does CVE-2024-6221 introduce?

CVE-2024-6221 introduces the risk of exposing private network resources due to a misconfigured CORS header.

5

What can happen if I do not address CVE-2024-6221?

If not addressed, CVE-2024-6221 can lead to unauthorized external access to sensitive network resources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203