{"schema_version":"1.7.3","id":"GHSA-xc3p-ff3m-f46v","published":"2021-05-06T18:51:48Z","modified":"2024-09-20T20:01:25.449661Z","aliases":["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.","affected":[{"package":{"name":"flask-cors","ecosystem":"PyPI","purl":"pkg:pypi/flask-cors"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.9"}]}],"versions":["1.0","1.1","1.1.1","1.1.2","1.1.3","1.10.0","1.10.1","1.10.2","1.10.3","1.2.0","1.2.1","1.3.0","1.3.1","1.4.0","1.5.0","1.6.0","1.6.1","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.8.0","1.8.1","1.9.0","2.0.0","2.0.0rc1","2.0.1","2.1.0","2.1.1","2.1.2","2.1.3","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.6","3.0.7","3.0.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-xc3p-ff3m-f46v/GHSA-xc3p-ff3m-f46v.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25032"},{"type":"WEB","url":"https://github.com/corydolphin/flask-cors/commit/67c4b2cc98ae87cf1fa7df4f97fd81b40c79b895"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-xc3p-ff3m-f46v"},{"type":"PACKAGE","url":"https://github.com/corydolphin/flask-cors"},{"type":"WEB","url":"https://github.com/corydolphin/flask-cors/releases/tag/3.0.9"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/flask-cors/PYSEC-2020-43.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2020/dsa-4775"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00028.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00032.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00039.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00048.html"}],"database_specific":{"cwe_ids":["CWE-22"],"github_reviewed":true,"github_reviewed_at":"2021-05-05T19:30:23Z","nvd_published_at":"2020-08-31T04:15:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}