ghsa-hxwh-jpp2-84pm
Vulnerability from github
Published
2024-08-18 21:31
Modified
2024-09-17 17:51
Severity ?
7.5 (High) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
8.7 (High) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
8.7 (High) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Summary
Flask-CORS allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default
Details
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": [ { "package": { "ecosystem": "PyPI", "name": "Flask-Cors" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "4.0.2" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-6221" ], "database_specific": { "cwe_ids": [ "CWE-284" ], "github_reviewed": true, "github_reviewed_at": "2024-08-19T18:25:39Z", "nvd_published_at": "2024-08-18T19:15:04Z", "severity": "HIGH" }, "details": "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.", "id": "GHSA-hxwh-jpp2-84pm", "modified": "2024-09-17T17:51:38Z", "published": "2024-08-18T21:31:07Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-6221" }, { "type": "WEB", "url": "https://github.com/corydolphin/flask-cors/issues/362" }, { "type": "WEB", "url": "https://github.com/corydolphin/flask-cors/pull/363" }, { "type": "WEB", "url": "https://github.com/corydolphin/flask-cors/pull/368" }, { "type": "WEB", "url": "https://github.com/corydolphin/flask-cors/commit/7ae310c56ac30e0b94fb42129aa377bf633256ec" }, { "type": "WEB", "url": "https://github.com/corydolphin/flask-cors/commit/c8514760cf03fcce16d77f6db7007aad429c4548" }, { "type": "PACKAGE", "url": "https://github.com/corydolphin/flask-cors" }, { "type": "WEB", "url": "https://github.com/corydolphin/flask-cors/releases" }, { "type": "WEB", "url": "https://github.com/pypa/advisory-database/tree/main/vulns/flask-cors/PYSEC-2024-71.yaml" }, { "type": "WEB", "url": "https://huntr.com/bounties/a42935fc-6f57-4818-bca4-3d528235df4d" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", "type": "CVSS_V4" } ], "summary": "Flask-CORS allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default" }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.