hoch7.5
CVE-2020-25032
An issue was discovered in Flask-CORS (aka CORS Middleware for Flask) before 3.0.9.
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | Flask-Cors | < 3.0.9 | 3.0.9 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Debian | Debian Linux | Version 10.0 |
| Flask-cors Project | Flask-cors | vor 3.0.9 |
| Opensuse | Backports Sle | Version 15.0 |
| Opensuse | Leap | Versionen 15.1, 15.2 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00028.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00032.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00039.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00048.html
- https://github.com/corydolphin/flask-cors/releases/tag/3.0.9
- https://www.debian.org/security/2020/dsa-4775
- https://github.com/advisories/GHSA-xc3p-ff3m-f46v
- https://nvd.nist.gov/vuln/detail/CVE-2020-25032
- https://github.com/corydolphin/flask-cors/commit/67c4b2cc98ae87cf1fa7df4f97fd81b40c79b895
- https://github.com/pypa/advisory-database/tree/main/vulns/flask-cors/PYSEC-2020-43.yaml