VDB
KO

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / flask-cors
Introduced in: 0 Fixed in: 3.0.9
Fix pip install --upgrade 'flask-cors>=3.0.9'

References