CVE-2024-42353
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Mixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1:1.8.9-1 |
| sid | Fixed | 1:1.8.9-1 |
| forky | Fixed | 1:1.8.9-1 |
| bullseye | Affected | โ |
| bookworm | Affected | โ |
References
- https://github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3
- https://nvd.nist.gov/vuln/detail/CVE-2024-42353
- https://github.com/Pylons/webob/commit/f689bcf4f0a1f64f1735b1d5069aef5be6974b5b
- https://github.com/Pylons/webob
- https://github.com/pypa/advisory-database/tree/main/vulns/webob/PYSEC-2024-188.yaml
- https://www.suse.com/security/cve/CVE-2024-42353.html
- https://security-tracker.debian.org/tracker/CVE-2024-42353
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.