# CVE-2024-42353: python3-webob: WebOb provides objects for HTTP requests and responses

CVE-2024-42353 is fixed in 3 products on 1 platform, first by python3-webob 1:1.8.5-2ubuntu0.1, released August 14, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-42353
- Priority: Routine
- CVSS: 6.1 (Medium)
- EPSS: 0.0057
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 14, 2024

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-WebOb opensuse-leap 15.6 | 1.8.7-150400.11.6.1 | [SUSE-SU-2024:2970-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2970-1.md) | Aug 19, 2024 |
| Linux | python-WebOb sles 15.6 | 1.7.4-150000.3.3.1 | [SUSE-SU-2024:3116-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-3116-1.md) | Sep 3, 2024 |
| Linux | python-webob Debian 13.5 (trixie) | 1:1.8.9-1 | [DEBIAN-CVE-2024-42353](https://patchblox.com/security/data/fix/linux/debian-cve-2024-42353.md) | Aug 14, 2024 |
| Linux | python-webob Debian 14 | 1:1.8.9-1 | [DEBIAN-CVE-2024-42353](https://patchblox.com/security/data/fix/linux/debian-cve-2024-42353.md) | Aug 14, 2024 |
| Linux | python-webob Ubuntu 18.04.6 LTS (bionic) | 1:1.7.3-2ubuntu0.1~esm2 | [python-webob 1:1.7.3-2ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-webob-1-1.7.3-2ubuntu0.1-esm2.md) | Jun 22, 2026 |
| Linux | python3-webob Ubuntu 18.04.6 LTS (bionic) | 1:1.7.3-2ubuntu0.1~esm2 | [python3-webob 1:1.7.3-2ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-webob-1-1.7.3-2ubuntu0.1-esm2.md) | Jun 22, 2026 |
| Linux | python3-webob Ubuntu 20.04 LTS (focal) | 1:1.8.5-2ubuntu0.1 | [python3-webob 1:1.8.5-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-webob-1-1.8.5-2ubuntu0.1.md) | Aug 14, 2024 |
| Linux | python3-webob Ubuntu 22.04.1 LTS (jammy) | 1:1.8.6-1.1ubuntu0.1 | [python3-webob 1:1.8.6-1.1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-webob-1-1.8.6-1.1ubuntu0.1.md) | Aug 14, 2024 |
| Linux | python3-webob Ubuntu 24.04.5 LTS (noble) | 1:1.8.7-1ubuntu0.1.24.04.1 | [python3-webob 1:1.8.7-1ubuntu0.1.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-webob-1-1.8.7-1ubuntu0.1.24.04.1.md) | Aug 14, 2024 |
| Linux | python3-webob Ubuntu 24.10 (oracular) | 1:1.8.7-1ubuntu1 | [python3-webob 1:1.8.7-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-python3-webob-1-1.8.7-1ubuntu1.md) | Jan 16, 2026 |
| Linux | python3-webob Ubuntu 25.04 (plucky) | 1:1.8.7-1ubuntu1 | [python3-webob 1:1.8.7-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-python3-webob-1-1.8.7-1ubuntu1.md) | Jan 16, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
