CVE-2020-25032
published 2020-08-31CVE-2020-25032: 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…
PriorityP345high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
4.02%
89.5th percentile
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
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | python-flask-cors | < python-flask-cors 3.0.9-1 (bookworm) | python-flask-cors 3.0.9-1 (bookworm) |
| flask-cors_project | flask-cors | < 3.0.9 | 3.0.9 |
| flask-cors_project | flask-cors | >= 0 < 3.0.9 | 3.0.9 |
| opensuse | backports_sle | — | — |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Flask-Cors Directory Traversal vulnerability
osv·2021-05-06
CVE-2020-25032 [HIGH] Flask-Cors Directory Traversal vulnerability
Flask-Cors Directory Traversal vulnerability
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.
GHSA
Flask-Cors Directory Traversal vulnerability
ghsa·2021-05-06
CVE-2020-25032 [HIGH] CWE-22 Flask-Cors Directory Traversal vulnerability
Flask-Cors Directory Traversal vulnerability
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.
OSV
CVE-2020-25032: An issue was discovered in Flask-CORS (aka CORS Middleware for Flask) before 3
osv·2020-08-31·CVSS 7.5
CVE-2020-25032 [HIGH] CVE-2020-25032: An issue was discovered in Flask-CORS (aka CORS Middleware for Flask) before 3
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.
Ubuntu
Flask-CORS vulnerability
vendor_ubuntu·2023-04-13
CVE-2020-25032 Flask-CORS vulnerability
Title: Flask-CORS vulnerability
Summary: Applications using Flask-CORS could be made to expose sensitive
information.
It was discovered that Flask-CORS did not properly escape paths before
evaluating resource rules. An attacker could possibly use this to
expose sensitive information.
Instructions: After a standard system update you need to restart application using
Flask-CORS to make all the necessary changes.
Red Hat
python-flask-cors: allows ../ directory traversal to access private resources
vendor_redhat·2020-08-31·CVSS 7.5
CVE-2020-25032 [HIGH] CWE-22 python-flask-cors: allows ../ directory traversal to access private resources
python-flask-cors: allows ../ directory traversal to access private resources
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.
A flaw was found in Flask-CORS (aka CORS Middleware for Flask). This issue allows the ../ directory traversal to access private resources because resource matching does not ensure that pathnames are in a canonical format. The highest threat from this vulnerability is to confidentiality.
Statement: Red Hat Quay includes Flask-CORS but does not use the vulnerable resource matching functionality. Therefore this issue is rated as low impact for Red Hat Quay.
Package: python-flask-cors (R
Debian
CVE-2020-25032: python-flask-cors - An issue was discovered in Flask-CORS (aka CORS Middleware for Flask) before 3.0...
vendor_debian·2020·CVSS 7.5
CVE-2020-25032 [HIGH] CVE-2020-25032: python-flask-cors - An issue was discovered in Flask-CORS (aka CORS Middleware for Flask) before 3.0...
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.
Scope: local
bookworm: resolved (fixed in 3.0.9-1)
bullseye: resolved (fixed in 3.0.9-1)
forky: resolved (fixed in 3.0.9-1)
sid: resolved (fixed in 3.0.9-1)
trixie: resolved (fixed in 3.0.9-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-25032 python-flask-cors: allows ../ directory traversal to access private resources [fedora-all]
bugzilla·2020-09-08·CVSS 7.5
CVE-2020-25032 [HIGH] CVE-2020-25032 python-flask-cors: allows ../ directory traversal to access private resources [fedora-all]
CVE-2020-25032 python-flask-cors: allows ../ directory traversal to access private resources [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects
Bugzilla
CVE-2020-25032 python-flask-cors: allows ../ directory traversal to access private resources
bugzilla·2020-09-08·CVSS 7.5
CVE-2020-25032 [HIGH] CVE-2020-25032 python-flask-cors: allows ../ directory traversal to access private resources
CVE-2020-25032 python-flask-cors: allows ../ directory traversal to access private resources
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.
Upstream Release:
https://github.com/corydolphin/flask-cors/releases/tag/3.0.9
Discussion:
Created python-flask-cors tracking bugs for this issue:
Affects: fedora-all [bug 1876699]
---
While Red Hat Quay includes an affected Flask-CORS version it doesn't use resource matching to protect private resources. Therefore we rated this issue low impact for Red Hat Quay.
---
Flask-CORS is only included in Red Hat Quay 3.1 which is in the extended life support phase. In t
http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00028.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00032.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00039.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00048.htmlhttps://github.com/corydolphin/flask-cors/releases/tag/3.0.9https://www.debian.org/security/2020/dsa-4775http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00028.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00032.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00039.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00048.htmlhttps://github.com/corydolphin/flask-cors/releases/tag/3.0.9https://www.debian.org/security/2020/dsa-4775
2020-08-31
Published