CVE-2024-6221
HIGH7.5EPSS 0.64%Flask-CORS allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default
發布日:2024/8/18修改日:2026/5/21
描述
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.
受影響套件(4)
- Debian/python-flask-corsfrom 0, < 5.0.0-1
- PyPI/flask-corsfrom 0, < 4.0.2
- PyPI/flask-corsfrom 0, <= 4.0.1
- PyPI/flask-corsfrom 0, < 4.0.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
參考連結(13)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-6221
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-6221
- PATCHhttps://github.com/corydolphin/flask-cors
- WEBhttps://github.com/corydolphin/flask-cors/commit/03aa3f8e2256437f7bad96422a747b98ab5e31bf
- WEBhttps://github.com/corydolphin/flask-cors/commit/7ae310c56ac30e0b94fb42129aa377bf633256ec
- WEBhttps://github.com/corydolphin/flask-cors/commit/c8514760cf03fcce16d77f6db7007aad429c4548
- WEBhttps://github.com/corydolphin/flask-cors/issues/362
- WEBhttps://github.com/corydolphin/flask-cors/pull/363
- WEBhttps://github.com/corydolphin/flask-cors/pull/368
- WEBhttps://github.com/corydolphin/flask-cors/releases
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/flask-cors/PYSEC-2024-260.yaml
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/flask-cors/PYSEC-2024-71.yaml
- WEBhttps://huntr.com/bounties/a42935fc-6f57-4818-bca4-3d528235df4d