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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:pylonsproject:webob:*:*:*:*:*:*:*:*

History

19 Aug 2024, 18:44

Type Values Removed Values Added
References () https://github.com/Pylons/webob/commit/f689bcf4f0a1f64f1735b1d5069aef5be6974b5b - () https://github.com/Pylons/webob/commit/f689bcf4f0a1f64f1735b1d5069aef5be6974b5b - Patch
References () https://github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3 - () https://github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3 - Exploit, Vendor Advisory
First Time Pylonsproject
Pylonsproject webob
CPE cpe:2.3:a:pylonsproject:webob:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.1
CWE CWE-601

14 Aug 2024, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-08-14 21:15

Updated : 2024-08-19 18:44


NVD link : CVE-2024-42353

Mitre link : CVE-2024-42353


JSON object : View

Products Affected

pylonsproject

  • webob
CWE
CWE-601

URL Redirection to Untrusted Site ('Open Redirect')