{"cve":"CVE-2024-42353","nvd":{"published":"2024-08-14T21:15:17.073","modified":"2026-06-17T07:49:18.797","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-601"],"references":["https://github.com/Pylons/webob/commit/f689bcf4f0a1f64f1735b1d5069aef5be6974b5b","https://github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3"],"products":["pylonsproject:webob"],"source":"nvd","synced_at":"2026-10-19T21:54:16.205165117+00:00"},"epss":{"cve":"CVE-2024-42353","score":0.00569,"percentile":0.47117,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-mg3v-6m49-jhp3","url":"https://osv.dev/vulnerability/GHSA-mg3v-6m49-jhp3","summary":"WebOb's location header normalization during redirect leads to open redirect","modified":"2025-01-21T18:21:20.814464Z","packages":[{"ecosystem":"PyPI","name":"webob","purl":"pkg:pypi/webob","ranges":["<1.8.8"],"fixed":["1.8.8"]}]},{"id":"PYSEC-2024-188","url":"https://osv.dev/vulnerability/PYSEC-2024-188","summary":"","modified":"2025-01-19T04:56:55.038129Z","packages":[{"ecosystem":"PyPI","name":"webob","purl":"pkg:pypi/webob","ranges":["<1.8.8"],"fixed":["1.8.8"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}