Vulnerability
CVE-2024-42353
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.
26 advisories report this vulnerability, across 10 ecosystems.
Advisories in Red Hat
-
RHSA-2024:6775
Red Hat Security Advisory: Red Hat OpenStack Platform 18.0 (python-webob) security update
-
RHSA-2024:6827
Red Hat Security Advisory: OpenShift Container Platform 4.16.14 security update
-
RHSA-2024:7182
Red Hat Security Advisory: OpenShift Container Platform 4.15.35 packages and security update
-
RHSA-2024:7187
Red Hat Security Advisory: OpenShift Container Platform 4.14.38 security update
-
RHSA-2024:7941
Red Hat Security Advisory: OpenShift Container Platform 4.13.z security update
-
RHSA-2024:9983
Red Hat Security Advisory: RHOSP 17.1.4 (python-webob) security update
-
RHSA-2024:9989
Red Hat Security Advisory: RHOSP 17.1.4 (python-webob) security update
-
RHSA-2025:4664
Red Hat Security Advisory: Red Hat Ceph Storage 7.1 security, bug fix, and enhancement updates
-
RHSA-2025:9775
Red Hat Security Advisory: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement updates
-
RHVEX-CVE-2024-42353
webob: WebOb's location header normalization during redirect leads to open redirect