GitHub Advisoryadvisory · PyPI

GHSA-xc3p-ff3m-f46v Flask-Cors Directory Traversal vulnerability

HIGH Published 2021-05-06 Modified 2024-09-20 Official page ↗
Aliases
CVE-2020-25032
Ecosystem
PyPI
Packages
Flask-Cors
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2021-05-05

Affected packages

• PyPI Flask-Cors: < 3.0.9 → fixed in 3.0.9

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.

Related

Alias · CVE (1)

  • CVE-2020-25032 An issue was discovered in Flask-CORS (aka CORS Middleware for Flask) before 3.0.9. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References