Advisory

GHSA-xc3p-ff3m-f46v

Also known as: CVE-2020-25032, PYSEC-2020-43

Summary

Flask-Cors Directory Traversal vulnerability

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-05-06 18:51 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

flask-cors

PyPI · All systems

Affected

  • introduced 0, fixed 3.0.9 (ecosystem)

Fixed versions

3.0.9

Fix

  • Fixed version 3.0.9
    pip install --upgrade flask-cors==3.0.9

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences