cve.bz

CVE-2024-42353

6.1 mediumEPSS 0.6%

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

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% chance of exploitation in the next 30 days; higher than 47% of CVEs (scores of 2026-10-31)
CWE
CWE-601
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

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

References

Check your stackJSON