CVE-2024-42353

CVE-2024-42353 is a medium-severity vulnerability in Pylonsproject Webob with a CVSS 3.x base score of 6.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-601.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2024-42353?
CVE-2024-42353 has a CVSS 3.x base score of 6.1, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
Is CVE-2024-42353 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (39th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-42353?
CVE-2024-42353 affects Pylonsproject Webob. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-42353?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-42353 have an EU (EUVD) identifier?
Yes. CVE-2024-42353 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0201.
When was CVE-2024-42353 published?
CVE-2024-42353 was published on 2024-08-14 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Pylonsproject Webob

All CVEs affecting Pylonsproject Webob →

Other CWE-601 (Open Redirect) vulnerabilities

Browse all CWE-601 (Open Redirect) vulnerabilities →