What’s Vulnerable › Vulnerabilities
CVE-2020-25032
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-08-31 · updated 2026-06-17
- Weakness: CWE-22
Description
An issue was discovered in Flask-CORS (aka CORS Middleware for Flask) before 3.0.9. It allows ../ directory traversal to access private resources because resource matching does not ensure that pathnames are in a canonical format.
Affected products
- Debian Linux: 10.0
- corydolphin/flask-cors: before 3.0.9 — fixed in 3.0.9
- openSUSE Backports Sle: 15.0-sp1, 15.0-sp2
- openSUSE Leap: 15.1, 15.2
How to fix
Upgrade to a fixed version: corydolphin/flask-cors 3.0.9. Check the vendor advisory for mitigations.
References
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00028.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00032.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00039.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00048.html
- https://github.com/corydolphin/flask-cors/releases/tag/3.0.9
- https://www.debian.org/security/2020/dsa-4775
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00028.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00032.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00039.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00048.html
- https://github.com/corydolphin/flask-cors/releases/tag/3.0.9
- https://www.debian.org/security/2020/dsa-4775
Get alerted when CVE-2020-25032 or the next vulnerability affects your stack