Medium severity6.1NVD Advisory· Published Aug 14, 2024· Updated Jun 17, 2026
CVE-2024-42353
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
webobPyPI | < 1.8.8 | 1.8.8 |
Affected products
10- ghsa-coords9 versionspkg:pypi/webobpkg:rpm/opensuse/python-WebOb&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/python-WebOb&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/python-WebOb&distro=openSUSE%20Tumbleweedpkg:rpm/suse/python-WebOb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5pkg:rpm/suse/python-WebOb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6pkg:rpm/suse/python-WebOb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5pkg:rpm/suse/python-WebOb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6pkg:rpm/suse/python-WebOb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2012
< 1.8.8+ 8 more
- (no CPE)range: < 1.8.8
- (no CPE)range: < 1.7.4-150000.3.3.1
- (no CPE)range: < 1.8.7-150400.11.6.1
- (no CPE)range: < 1.8.8-1.1
- (no CPE)range: < 1.7.4-150000.3.3.1
- (no CPE)range: < 1.7.4-150000.3.3.1
- (no CPE)range: < 1.7.4-150000.3.3.1
- (no CPE)range: < 1.7.4-150000.3.3.1
- (no CPE)range: < 1.2.3-3.3.1
- Pylons/webobv5Range: <= 1.8.7
Patches
Vulnerability mechanics
References
5- github.com/Pylons/webob/commit/f689bcf4f0a1f64f1735b1d5069aef5be6974b5bnvdPatchWEB
- github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3nvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-mg3v-6m49-jhp3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-42353ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/webob/PYSEC-2024-188.yamlghsaWEB
News mentions
0No linked articles in our index yet.