ADVISORIES

PyPA Advisory Database

PYSEC-2020-43

Details

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

EcosystemPackageAffected versions
PyPIflask-cors
All versions before 3.0.9 (fixed in 3.0.9)

References