WebOb's location header normalization during redirect leads to open redirect
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 10 fixed, 9 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-601.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Pylons | webob | up to 1.8.7 | — | No fix listed | CNA |
| — | webob (PyPI) | before 1.8.8 | 1.8.8 | Patch available | GHSA-mg3v-6m49-jhp3 |
- webob VendorPylons Affected up to 1.8.7 Fixed in — No fix listed CNA
- webob (PyPI) Vendor— Affected before 1.8.8 Fixed in 1.8.8 Patch available GHSA-mg3v-6m49-jhp3
Remediation
- Fix · GHSA-mg3v-6m49-jhp3 webob (PyPI) Fixed in 1.8.8 Advisory →
Red Hat 10 advisories
- RHSA-2025:9775 Released 2025-06-26 · Red Hat rating ImportantRed Hat Ceph Storage 8.1 security, bug fix, and enhancement updates
- Red Hat Ceph Storage 8.1 Tools ceph-2:19.2.1-222.el9cp, ceph-base-2:19.2.1-222.el9cp, ceph-common-2:19.2.1-222.el9cp +28
- RHSA-2025:4664 Released 2025-05-07 · Red Hat rating ImportantRed Hat Ceph Storage 7.1 security, bug fix, and enhancement updates
- Red Hat Ceph Storage 7.1 Tools ceph-2:18.2.1-329.el8cp, ceph-2:18.2.1-329.el9cp, ceph-base-2:18.2.1-329.el8cp +47
- RHSA-2024:9983 Released 2024-11-21 · Red Hat rating ModerateRHOSP 17.1.4 (python-webob) security update
- Red Hat OpenStack Platform 17.1 python-webob-1.8.7-2.1.el9ost, python3-webob-1.8.7-2.1.el9ost
Show 7 more Red Hat advisories
- RHSA-2024:9989 Released 2024-11-21 · Red Hat rating ModerateRHOSP 17.1.4 (python-webob) security update
- Red Hat OpenStack Platform 17.1 python-webob-1.8.7-2.1.el8ost, python3-webob-1.8.7-2.1.el8ost
- RHSA-2024:7941 Released 2024-10-16 · Red Hat rating ImportantOpenShift Container Platform 4.13.z security update
- Ironic content for Red Hat OpenShift Container Platform 4.13 openstack-ironic-1:21.3.1-0.20240911165036.c0d61d0.el9, openstack-ironic-api-1:21.3.1-0.20240911165036.c0d61d0.el9, openstack-ironic-common-1:21.3.1-0.20240911165036.c0d61d0.el9 +5
- Red Hat OpenShift Container Platform 4.13 podman-3:4.4.1-13.rhaos4.13.el8, podman-3:4.4.1-14.rhaos4.13.el9, podman-catatonit-3:4.4.1-13.rhaos4.13.el8 +14
- RHSA-2024:7590 Released 2024-10-09 · Red Hat rating ImportantOpenShift Container Platform 4.12.67 bug fix and security update
- Red Hat OpenShift Container Platform 4.12 openshift4/ose-ironic-rhel9, rhcos
- RHSA-2024:7187 Released 2024-10-03 · Red Hat rating ModerateOpenShift Container Platform 4.14.38 security update
- Ironic content for Red Hat OpenShift Container Platform 4.14 python-webob-1.8.8-2.el9, python3-webob-1.8.8-2.el9
- Red Hat OpenShift Container Platform 4.14 podman-3:4.4.1-19.rhaos4.14.el8, podman-3:4.4.1-19.rhaos4.14.el9, podman-catatonit-3:4.4.1-19.rhaos4.14.el8 +14
- RHSA-2024:7182 Released 2024-10-02 · Red Hat rating ModerateOpenShift Container Platform 4.15.35 packages and security update
- Ironic content for Red Hat OpenShift Container Platform 4.15 python-webob-1.8.8-2.el9, python3-webob-1.8.8-2.el9
- Red Hat OpenShift Container Platform 4.15 podman-3:4.4.1-30.rhaos4.15.el8, podman-3:4.4.1-30.rhaos4.15.el9, podman-catatonit-3:4.4.1-30.rhaos4.15.el8 +14
- RHSA-2024:6827 Released 2024-09-24 · Red Hat rating ModerateOpenShift Container Platform 4.16.14 security update
- Ironic content for Red Hat OpenShift Container Platform 4.16 python-webob-1.8.8-2.el9, python3-webob-1.8.8-2.el9
- RHSA-2024:6775 Released 2024-09-19 · Red Hat rating ModerateRed Hat OpenStack Platform 18.0 (python-webob) security update
- 9Base-RHOSO-TOOLS-18 python-webob-1.8.7-3.el9ost, python3-webob-1.8.7-3.el9ost
- Red Hat OpenStack Services on OpenShift 18.0 python-webob-1.8.7-3.el9ost, python3-webob-1.8.7-3.el9ost
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ceph Storage 4 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 5 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 16.1 | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 16.2 | Affected | No fix planned: Will not fix |
| Red Hat Openshift Container Storage 4 | Affected | No fix planned: Will not fix |
| Red Hat Quay 3 | Affected | No fix yet |
| 9Base-RHOSO-TOOLS-18 | Fixed | RHSA-2024:6775 |
| Ironic content for Red Hat OpenShift Container Platform 4.13 | Fixed | RHSA-2024:7941 |
| Ironic content for Red Hat OpenShift Container Platform 4.14 | Fixed | RHSA-2024:7187 |
| Ironic content for Red Hat OpenShift Container Platform 4.15 | Fixed | RHSA-2024:7182 |
| Ironic content for Red Hat OpenShift Container Platform 4.16 | Fixed | RHSA-2024:6827 |
| Red Hat Ceph Storage 7.1 Tools | Fixed | RHSA-2025:4664 |
| Red Hat Ceph Storage 8.1 Tools | Fixed | RHSA-2025:9775 |
| Red Hat OpenShift Container Platform 4.12 | Fixed | RHSA-2024:7590 |
| Red Hat OpenStack Platform 17.1 | Fixed | RHSA-2024:9983, RHSA-2024:9989 |
| Red Hat OpenStack Services on OpenShift 18.0 | Fixed | RHSA-2024:6775 |
Not affected: 8 products
- Ironic content for Red Hat OpenShift Container Platform 4.13
- Red Hat Ceph Storage 7.1 Tools
- Red Hat Ceph Storage 8.1 Tools
- Red Hat OpenShift Container Platform 4.12
- Red Hat OpenShift Container Platform 4.13
- Red Hat OpenShift Container Platform 4.14
- Red Hat OpenShift Container Platform 4.15
- Red Hat OpenShift Container Platform 4.16
Timeline
- 2026-10-02 Threatist record created from CVE-2024-42353
- 2026-10-03 Alias added: GHSA-mg3v-6m49-jhp3
References
More Pylons Webob vulnerabilities
- TI-2026-32764 WebOb: Location header normalization during redirect leads to open redirect CVSS 3.1MEDIUM 6.1
Sources
- CVE-2024-42353 · CVE Program
- CVE-2024-42353 · NVD
- FIRST EPSS
- GHSA-mg3v-6m49-jhp3 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-42353 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences