Red Hat VEX
RHVEX-CVE-2024-42353
webob: WebOb's location header normalization during redirect leads to open redirect
Details
A vulnerability was found in the WebOb package. WebOb normalizes the HTTP Location header using urlparse and urljoin. If the URL starts with //, urlparse treats the following part as the hostname, and replaces the original request's hostname. This issue, combined with user interaction, may become a vulnerability.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | python-webob | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-webob | All versions, no fix (out of support scope) |
References
- https://access.redhat.com/security/cve/CVE-2024-42353
- https://bugzilla.redhat.com/show_bug.cgi?id=2305004
- https://www.cve.org/CVERecord?id=CVE-2024-42353
- https://nvd.nist.gov/vuln/detail/CVE-2024-42353
- https://github.com/Pylons/webob
- https://github.com/Pylons/webob/commit/f689bcf4f0a1f64f1735b1d5069aef5be6974b5b
- https://github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3