CVE-2020-25032

HIGH

Flask-Cors < 3.0.9 - Path Traversal via Non-Canonical Pathname

Title source: llm
STIX 2.1

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.

References (6)

Core 6
Core References
Third Party Advisory x_refsource_misc
https://github.com/corydolphin/flask-cors/releases/tag/3.0.9
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00028.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00032.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00039.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00048.html
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2020/dsa-4775

Scores

CVSS v3 7.5
EPSS 0.0090
EPSS Percentile 75.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-22
Status published
Products (6)
debian/debian_linux 10.0
flask-cors_project/flask-cors < 3.0.9
opensuse/backports_sle 15.0 sp1 (2 CPE variants)
opensuse/leap 15.1
opensuse/leap 15.2
pypi/Flask-Cors 0 - 3.0.9PyPI
Published Aug 31, 2020
Tracked Since Feb 18, 2026