CVE-2024-42353
MEDIUM EPSS 38.9%
Published Aug 14, 20241y ago · Modified Jun 17, 20262w ago
6.1 CVSS 3.1
Published Aug 14, 2024 1y ago
Last Modified Jun 17, 2026 2w ago
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 Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None
Threat Intelligence
EPSS Exploit Probability
38.9% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-601
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| pylonsproject | webob | * | <1.8.8 |
References 2
- github.com https://github.com/Pylons/webob/commit/f689bcf4f0a1f64f1735b1d5069aef5be6974b5b
- github.com https://github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3
Remediation
- github.com https://github.com/Pylons/webob/commit/f689bcf4f0a1f64f1735b1d5069aef5be6974b5b