CVE-2024-42353 WebOb's location header normalization during redirect leads to open redirect
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
8 packages: 6 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/python-webob(Debian 12) | = 1:1.8.6-3; = 1:1.8.7-1; = 1:1.8.7-2; = 1:1.8.7-3 +5 more | No fix listed | No fix yet |
| debian/python-webob(Debian 13) | < 1:1.8.9-1 | 1:1.8.9-1 | Fixed |
| debian/python-webob(Debian 14) | < 1:1.8.9-1 | 1:1.8.9-1 | Fixed |
| pylonsproject webob | < 1.8.8 | 1.8.8 | Fixed |
| pypi webob(PyPI) | < 1.8.8; <= 1.8.7; = 0.8; = 0.8.1 +69 more | 1.8.8 | Fixed |
| ubuntu/python-webob(Ubuntu 22.04) | < 1:1.8.6-1.1ubuntu0.1 | 1:1.8.6-1.1ubuntu0.1 | Fixed |
| ubuntu/python-webob(Ubuntu 24.04) | < 1:1.8.7-1ubuntu0.1.24.04.1 | 1:1.8.7-1ubuntu0.1.24.04.1 | Fixed |
| Pylons webob | = <= 1.8.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi webob(PyPI) | < 1.8.8 | 1.8.8 |
| pypi webob(PyPI) | = 0.8 | No fix listed |
| pypi webob(PyPI) | = 0.8.1 | No fix listed |
| pypi webob(PyPI) | = 0.8.2 | No fix listed |
| pypi webob(PyPI) | = 0.8.3 | No fix listed |
| pypi webob(PyPI) | = 0.8.4 | No fix listed |
| pypi webob(PyPI) | = 0.8.5 | No fix listed |
| pypi webob(PyPI) | = 0.9 | No fix listed |
| pypi webob(PyPI) | = 0.9.1 | No fix listed |
| pypi webob(PyPI) | = 0.9.2 | No fix listed |
| pypi webob(PyPI) | = 0.9.3 | No fix listed |
| pypi webob(PyPI) | = 0.9.4 | No fix listed |
| pypi webob(PyPI) | = 0.9.5 | No fix listed |
| pypi webob(PyPI) | = 0.9.6 | No fix listed |
| pypi webob(PyPI) | = 0.9.6.1 | No fix listed |
| pypi webob(PyPI) | = 0.9.7 | No fix listed |
| pypi webob(PyPI) | = 0.9.7.1 | No fix listed |
| pypi webob(PyPI) | = 0.9.8 | No fix listed |
| pypi webob(PyPI) | = 1.0 | No fix listed |
| pypi webob(PyPI) | = 1.0.1 | No fix listed |
| pypi webob(PyPI) | = 1.0.2 | No fix listed |
| pypi webob(PyPI) | = 1.0.3 | No fix listed |
| pypi webob(PyPI) | = 1.0.4 | No fix listed |
| pypi webob(PyPI) | = 1.0.5 | No fix listed |
| pypi webob(PyPI) | = 1.0.6 | No fix listed |
Show 63 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi webob(PyPI) | = 1.0.7 | No fix listed |
| pypi webob(PyPI) | = 1.0.8 | No fix listed |
| pypi webob(PyPI) | = 1.1 | No fix listed |
| pypi webob(PyPI) | = 1.1.1 | No fix listed |
| pypi webob(PyPI) | = 1.1b2 | No fix listed |
| pypi webob(PyPI) | = 1.1beta1 | No fix listed |
| pypi webob(PyPI) | = 1.1rc1 | No fix listed |
| pypi webob(PyPI) | = 1.2 | No fix listed |
| pypi webob(PyPI) | = 1.2.1 | No fix listed |
| pypi webob(PyPI) | = 1.2.2 | No fix listed |
| pypi webob(PyPI) | = 1.2.3 | No fix listed |
| pypi webob(PyPI) | = 1.2b1 | No fix listed |
| pypi webob(PyPI) | = 1.2b2 | No fix listed |
| pypi webob(PyPI) | = 1.2b3 | No fix listed |
| pypi webob(PyPI) | = 1.2rc1 | No fix listed |
| pypi webob(PyPI) | = 1.3 | No fix listed |
| pypi webob(PyPI) | = 1.3.1 | No fix listed |
| pypi webob(PyPI) | = 1.4 | No fix listed |
| pypi webob(PyPI) | = 1.4.1 | No fix listed |
| pypi webob(PyPI) | = 1.4.2 | No fix listed |
| pypi webob(PyPI) | = 1.5.0 | No fix listed |
| pypi webob(PyPI) | = 1.5.0a0 | No fix listed |
| pypi webob(PyPI) | = 1.5.0a1 | No fix listed |
| pypi webob(PyPI) | = 1.5.0b0 | No fix listed |
| pypi webob(PyPI) | = 1.5.1 | No fix listed |
| pypi webob(PyPI) | = 1.6.0 | No fix listed |
| pypi webob(PyPI) | = 1.6.0a0 | No fix listed |
| pypi webob(PyPI) | = 1.6.1 | No fix listed |
| pypi webob(PyPI) | = 1.6.2 | No fix listed |
| pypi webob(PyPI) | = 1.6.3 | No fix listed |
| pypi webob(PyPI) | = 1.6.4 | No fix listed |
| pypi webob(PyPI) | = 1.7.0 | No fix listed |
| pypi webob(PyPI) | = 1.7.0rc1 | No fix listed |
| pypi webob(PyPI) | = 1.7.0rc2 | No fix listed |
| pypi webob(PyPI) | = 1.7.1 | No fix listed |
| pypi webob(PyPI) | = 1.7.2 | No fix listed |
| pypi webob(PyPI) | = 1.7.3 | No fix listed |
| pypi webob(PyPI) | = 1.7.4 | No fix listed |
| pypi webob(PyPI) | = 1.8.0 | No fix listed |
| pypi webob(PyPI) | = 1.8.0rc1 | No fix listed |
| pypi webob(PyPI) | = 1.8.1 | No fix listed |
| pypi webob(PyPI) | = 1.8.2 | No fix listed |
| pypi webob(PyPI) | = 1.8.3 | No fix listed |
| pypi webob(PyPI) | = 1.8.4 | No fix listed |
| pypi webob(PyPI) | = 1.8.5 | No fix listed |
| pypi webob(PyPI) | = 1.8.6 | No fix listed |
| pypi webob(PyPI) | = 1.8.7 | No fix listed |
| pypi webob(PyPI) | <= 1.8.7 | No fix listed |
| debian/python-webob(Debian:12) | All versions | No fix listed |
| debian/python-webob(Debian:12) | = 1:1.8.10-1 | No fix listed |
| debian/python-webob(Debian:12) | = 1:1.8.11-1 | No fix listed |
| debian/python-webob(Debian:12) | = 1:1.8.6-3 | No fix listed |
| debian/python-webob(Debian:12) | = 1:1.8.7-1 | No fix listed |
| debian/python-webob(Debian:12) | = 1:1.8.7-2 | No fix listed |
| debian/python-webob(Debian:12) | = 1:1.8.7-3 | No fix listed |
| debian/python-webob(Debian:12) | = 1:1.8.9-1 | No fix listed |
| debian/python-webob(Debian:12) | = 1:1.8.9-2 | No fix listed |
| debian/python-webob(Debian:13) | < 1:1.8.9-1 | 1:1.8.9-1 |
| debian/python-webob(Debian:14) | < 1:1.8.9-1 | 1:1.8.9-1 |
| ubuntu/python-webob(Ubuntu:22.04) | < 1:1.8.6-1.1ubuntu0.1 | 1:1.8.6-1.1ubuntu0.1 |
| Pylons webob | = <= 1.8.7 | No fix listed |
| ubuntu/python-webob(Ubuntu:24.04) | < 1:1.8.7-1ubuntu0.1.24.04.1 | 1:1.8.7-1ubuntu0.1.24.04.1 |
| pylonsproject webob | < 1.8.8 | 1.8.8 |
References
- https://github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/Pylons/webob/commit/f689bcf4f0a1f64f1735b1d5069aef5be6974b5b patch
- github.com product
- github.com
- github.com
- Debian Security Tracker CVE-2024-42353 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-6984-1 vendor-advisory
- USN-8759-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking