CVE-2020-25032
HIGH7.5EPSS 0.90%python-flask-cors - security update
Published: 5/6/2021Modified: 4/28/2026
Also known as:DEBIAN-CVE-2020-25032
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 packages (4)
- Debian/python-flask-corsfrom 0, < 3.0.9-1
- Debian/python-flask-corsfrom 0, < 3.0.7-1+deb10u1
- PyPI/flask-corsfrom 0, < 3.0.9
- PyPI/flask-corsfrom 0, < 3.0.9
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| 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 |
References (12)
- ADVISORYhttps://github.com/advisories/GHSA-xc3p-ff3m-f46v
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-25032
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-25032
- PATCHhttps://github.com/corydolphin/flask-cors
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00028.html
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00032.html
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00039.html
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00048.html
- WEBhttps://github.com/corydolphin/flask-cors/commit/67c4b2cc98ae87cf1fa7df4f97fd81b40c79b895
- WEBhttps://github.com/corydolphin/flask-cors/releases/tag/3.0.9
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/flask-cors/PYSEC-2020-43.yaml
- WEBhttps://www.debian.org/security/2020/dsa-4775