CVE-2024-42353: pylons webob Open Redirect
Vulnerability summary
CVE-2024-42353 is a medium (CVSS 6.1) Open Redirect vulnerability in pylons webob. EPSS estimates a 0.57% chance of exploitation in the next 30 days, higher than 46% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 6 · Related 1Timeline
- 14-08-2024PublishedVulnerability first disclosed.
- 15-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · PypiEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · Red hatEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.57%
Chance of exploitation in the next 30 days
Percentile
46%
Versus all other CVEs
30-day change
0.00 pp
From 0.57% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundWebob
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Suse5 products
- python-WebOb&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5< 1.7.4-150000.3.3.1
- python-WebOb&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6< 1.7.4-150000.3.3.1
- python-WebOb&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5< 1.7.4-150000.3.3.1
- python-WebOb&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6< 1.7.4-150000.3.3.1
- python-WebOb&distro=SUSE Linux Enterprise Module for Public Cloud 12< 1.2.3-3.3.1
Opensuse3 products
- python-WebOb&distro=openSUSE Leap 15.5< 1.7.4-150000.3.3.1
- python-WebOb&distro=openSUSE Leap 15.6< 1.8.7-150400.11.6.1
- python-WebOb&distro=openSUSE Tumbleweed< 1.8.8-1.1
Redhat2 products
- python-webob< 0:1.8.7-2.1.el9ost | < 0:1.8.7-2.1.el8ost | < 0:1.8.7-3.el9ost | < 0:1.8.8-2.el9
- python3-webob< 0:1.8.7-2.1.el9ost | < 0:1.8.7-2.1.el8ost | < 0:1.8.7-3.el9ost | < 0:1.8.8-2.el9
Debian1 product
- python-webobAll versions (No fix recorded) | < 1:1.8.9-1
Mageia1 product
- python-webob< 1.8.8-1.mga9
Pylons1 product
- webob≤ 1.8.7
Pylonsproject1 product
- webob< 1.8.8
PyPI1 product
- webob< f689bcf4f0a1f64f1735b1d5069aef5be6974b5b | < 1.8.8
Ubuntu1 product
- python-webob< 1.5.1-1ubuntu0.1~esm2 | < 1:1.7.3-2ubuntu0.1~esm2 | < 1:1.8.5-2ubuntu0.1 | < 1:1.8.6-1.1ubuntu0.1 | < 1:1.8.7-1ubuntu0.1.24.04.1
9 vendors · 16 products
References
29 links- github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3X Refsource CONFIRMWEBEVIDENCEARTICLEREPORTExploitVendor Advisory
- github.com/Pylons/webob/commit/f689bcf4f0a1f64f1735b1d5069aef5be6974b5bX Refsource MISCWEBFIXARTICLEREPORTPatch