CVE-2024-42353 | WebOb's location header normalization during redirect leads to open redirect

Exp

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.

Published: 2024-08-14 Last update: 2024-08-19 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-42353 is rated Exploit Available (56.8/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.26%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2024-42353

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2024-42353

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-26 0.24% 0.26% +0.02%
2 2026-05-22 0.26% 0.24% -0.02%
3 2026-04-26 0.26%

Full EPSS history (13 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-42353

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]

Weakness enumeration for CVE-2024-42353

GitHub Security Advisory for CVE-2024-42353

GHSA-mg3v-6m49-jhp3 · Severity: medium · Ecosystem: pip — WebOb's location header normalization during redirect leads to open redirect

OS Trackers for CVE-2024-42353

vendor priority summary link
debian not yet assigned CVE-2024-42353 not yet assigned priority: Debian including 1 source packages (python-webob), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. https://security-tracker.debian.org/tracker/CVE-2024-42353
redhat medium https://access.redhat.com/security/cve/CVE-2024-42353
suse medium CVE-2024-42353 severity moderate: SUSE including 11 source package names (python-WebOb-1.2.3-3.3.1, python-WebOb-doc-1.7.4-150000.3.3.1, …), 20 product×package rows across 13 product lines (SUSE Linux Enterprise Module for Basesystem 15 SP5, SUSE Linux Enterprise Module for Basesystem 15 SP6, … (13 product lines)): Fixed 20. https://www.suse.com/security/cve/CVE-2024-42353/
ubuntu medium CVE-2024-42353 medium priority: Ubuntu including 1 source packages (python-webob), 9 status rows across 9 suites (bionic, focal, jammy, noble, oracular, plucky, questing, upstream, xenial): released 6, needs-triage 3. https://ubuntu.com/security/CVE-2024-42353

Affected software / configurations for CVE-2024-42353

Vendor Product Version Raw CPE
pylonsproject webob < 1.8.8 cpe:2.3:a:pylonsproject:webob:*:*:*:*:*:*:*:*

References for CVE-2024-42353

cvelogic Threat Intelligence