CVE-2024-42353: Python webob · WebOb provides objects for HTTP requests and responses
Affects python-webobSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium · fixed in 1.5.1-1ubuntu0.1~esm2 : update python-webob when convenient.
Data as of 24 Nov 2026, 19:39 UTC
- Patch
- Available – fixed in 1.5.1-1ubuntu0.1~esm2, 1:1.7.3-2ubuntu0.1~esm2, 1:1.8.5-2ubuntu0.1 +2
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 14 Aug 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSpython-webobpkg:deb/ubuntu/python-webob?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSpython-webobpkg:deb/ubuntu/python-webob?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSpython-webobpkg:deb/ubuntu/python-webob?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSpython-webobpkg:deb/ubuntu/python-webob?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSpython-webobpkg:deb/ubuntu/python-webob?arch=source&distro=esm-infra-legacy/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-42353 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-42353 (opens in a new tab)
- github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3 (opens in a new tab)
- github.com/Pylons/webob/commit/f689bcf4f0a1f64f1735b1d5069aef5be6974b5b (opens in a new tab)
- ubuntu.com/security/notices/USN-6984-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8759-1 (opens in a new tab)