{"id":"GHSA-pjc4-3w99-j7v4","summary":"Open redirect in Flask-Unchained","details":"This affects the package Flask-Unchained before 0.9.0. When using the the _validate_redirect_url function, it is possible to bypass URL validation and redirect a user to an arbitrary URL by providing multiple back slashes such as \\\\\\evil.com/path. This vulnerability is only exploitable if an alternative WSGI server other than Werkzeug is used, or the default behaviour of Werkzeug is modified using 'autocorrect_location_header=False.","aliases":["CVE-2021-23393","PYSEC-2021-96","SNYK-PYTHON-FLASKUNCHAINED-1293189"],"modified":"2024-09-20T20:25:46.997207Z","published":"2021-06-15T15:56:59Z","database_specific":{"cwe_ids":["CWE-601"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-06-14T19:36:47Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23393"},{"type":"WEB","url":"https://github.com/briancappello/flask-unchained/commit/2bfeedf1bc31df851cab8c66df0c432b10406aad"},{"type":"WEB","url":"https://github.com/briancappello/flask-unchained/commit/71e36b28166f9ffbe0a991f51127f0984f7e6a40"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-pjc4-3w99-j7v4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/flask-unchained/PYSEC-2021-96.yaml"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-PYTHON-FLASKUNCHAINED-1293189"}],"affected":[{"package":{"name":"flask-unchained","ecosystem":"PyPI","purl":"pkg:pypi/flask-unchained"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}],"versions":["0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.2.0","0.2.1","0.2.2","0.3.0","0.3.1","0.3.2","0.4.0","0.4.1","0.4.2","0.5.0","0.5.1","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6","0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.7.6","0.7.7","0.7.8","0.7.9","0.8.0","0.8.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-pjc4-3w99-j7v4/GHSA-pjc4-3w99-j7v4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}]}