WebOb's location header normalization during redirect leads to open redirect
概要
WebOb's location header normalization during redirect leads to open redirect
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
WebOb provides objects for HTTP requests and responses. When WebOb normalizes the HTTP Location header to include the request hostname, it does so by parsing the URL that the user is to be redirected to with Python's urlparse, and joining it to the base URL. urlparse however treats a // at the start of a string as a URI without a scheme, and then treats the next part as the hostname. urljoin will then use that hostname from the second part as the hostname replacing the original one from the request. This vulnerability is patched in WebOb version 1.8.8.
出典: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の修正パッケージ
- Debian DEBIAN-CVE-2024-42353 python-webob
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com