cve.bz

CVE-2024-42353 pylonsproject webob: Open Redirect

6.1 mediumExploit referenceEPSS 0.6%Fix available

Medium (6.1) in pylonsproject webob. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in webob 1.8.8.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-08-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-601 URL Redirection to Untrusted Site (Open Redirect)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-42353 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-42353?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-42353?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-42353 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pylonsproject:webobbefore 1.8.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mg3v-6m49-jhp3PyPIwebob<1.8.81.8.8
PYSEC-2024-188PyPIwebob<1.8.81.8.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12python-webobno fix listedDEBIAN-CVE-2024-42353
Debian13, 14python-webob1:1.8.9-1DEBIAN-CVE-2024-42353
Ubuntu20.04:LTSpython-webob1:1.8.5-2ubuntu0.1UBUNTU-CVE-2024-42353 USN-6984-1
Ubuntu22.04:LTSpython-webob1:1.8.6-1.1ubuntu0.1UBUNTU-CVE-2024-42353 USN-6984-1 USN-8759-1
Ubuntu24.04:LTSpython-webob1:1.8.7-1ubuntu0.1.24.04.1UBUNTU-CVE-2024-42353 USN-6984-1 USN-8759-1
Ubuntu26.04:LTSpython-webob1:1.8.9-1ubuntu0.1USN-8759-1
UbuntuPro:16.04:LTSpython-webob1.5.1-1ubuntu0.1~esm2UBUNTU-CVE-2024-42353 USN-8759-1
UbuntuPro:18.04:LTSpython-webob1:1.7.3-2ubuntu0.1~esm2UBUNTU-CVE-2024-42353 USN-8759-1
UbuntuPro:20.04:LTSpython-webob1:1.8.5-2ubuntu0.1+esm1USN-8759-1
Red Hatceph_storage:7.1::el8ceph, librbd1, librgw2 and 51 more2:18.2.1-329.el8cpRHSA-2025:4664
Red Hatceph_storage:7.1::el8liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.12-1.el8cpRHSA-2025:4664
Red Hatceph_storage:7.1::el9ceph, cephadm, librbd1 and 53 more2:18.2.1-329.el9cpRHSA-2025:4664
Red Hatceph_storage:7.1::el9liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.12-1.el9cpRHSA-2025:4664
Red Hatceph_storage:8.1::el9ceph, cephadm, librbd1 and 56 more2:19.2.1-222.el9cpRHSA-2025:9775
Red Hatceph_storage:8.1::el9cephadm-ansible1:4.1.4-1.el9cpRHSA-2025:9775
Red Hatceph_storage:8.1::el9liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.12-1.el9cpRHSA-2025:9775
Red Hatopenshift:4.13::el8podman, podman-tests, podman-docker and 10 more3:4.4.1-13.rhaos4.13.el8RHSA-2024:7941
Red Hatopenshift:4.13::el8skopeo, skopeo-tests2:1.11.3-3.rhaos4.13.el8RHSA-2024:7941
Red Hatopenshift:4.13::el9podman, podman-tests, podman-docker and 8 more3:4.4.1-14.rhaos4.13.el9RHSA-2024:7941
Red Hatopenshift:4.13::el9skopeo, skopeo-tests, skopeo-debuginfo and 1 more2:1.11.3-3.rhaos4.13.el9RHSA-2024:7941
Red Hatopenshift:4.14::el8podman, podman-tests, podman-docker and 10 more3:4.4.1-19.rhaos4.14.el8RHSA-2024:7187
15 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Package Hub 15 SP5 and 1 morepython-WebOb1.7.4-150000.3.3.1SUSE-SU-2024:3116-1
SUSELinux Enterprise Module for Public Cloud 12python-WebOb1.2.3-3.3.1SUSE-SU-2024:2969-1
openSUSELeap 15.5python-WebOb1.7.4-150000.3.3.1SUSE-SU-2024:3116-1
openSUSELeap 15.6python-WebOb1.8.7-150400.11.6.1SUSE-SU-2024:2970-1
openSUSETumbleweedpython-WebOb1.8.8-1.1openSUSE-SU-2024:14279-1
Azure Linux2python-webob1.8.8-1AZL-47826
Azure Linux3python-webob1.8.8-1AZL-47820

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

If the Response class is used, any HTTP Location header (i.e. location) can be rewritten so that it always passes a full URI that includes the hostname to redirect the user to.

ProductPackageStateAdvisory
Ironic content for Red Hat OpenShift Container Platform 4.13python-webob-0:1.8.8-2.el9Fixed 2024-10-16RHSA-2024:7941
Red Hat Ceph Storage 7.1oath-toolkit-0:2.6.12-1.el8cpFixed 2025-05-07RHSA-2025:4664
Red Hat Ceph Storage 8.1oath-toolkit-0:2.6.12-1.el9cpFixed 2025-06-26RHSA-2025:9775
Red Hat OpenShift Container Platform 4.12openshift4/ose-ironic-rhel9:v4.12.0-202410011359.p0.g4d1b61e.assembly.stream.el9Fixed 2024-10-09RHSA-2024:7590
Red Hat OpenShift Container Platform 4.14python-webob-0:1.8.8-2.el9Fixed 2024-10-03RHSA-2024:7187
Red Hat OpenShift Container Platform 4.15python-webob-0:1.8.8-2.el9Fixed 2024-10-02RHSA-2024:7182
Red Hat OpenShift Container Platform 4.16python-webob-0:1.8.8-2.el9Fixed 2024-09-24RHSA-2024:6827
Red Hat OpenStack Platform 17.1 for RHEL 8python-webob-0:1.8.7-2.1.el8ostFixed 2024-11-21RHSA-2024:9989
Red Hat OpenStack Platform 17.1 for RHEL 9python-webob-0:1.8.7-2.1.el9ostFixed 2024-11-21RHSA-2024:9983
Red Hat OpenStack Services on OpenShift 18.0python-webob-0:1.8.7-3.el9ostFixed 2024-09-19RHSA-2024:6775
Red Hat Ceph Storage 4python-webobOut of support scope
Red Hat Ceph Storage 5python-webobOut of support scope
Red Hat Ceph Storage 6python-webobWill not fix
Red Hat Enterprise Linux 6python-webobOut of support scope
Red Hat Enterprise Linux 7python-webobOut of support scope
Red Hat Openshift Container Storage 4python-webobWill not fix
Red Hat OpenStack Platform 16.1python-webobOut of support scope
Red Hat OpenStack Platform 16.2python-webobWill not fix
Red Hat Quay 3quay/quay-rhel8Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-42353.

Attack patterns (CAPEC)

  • CAPEC-178 Cross-Site Flashing Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON