CVE-2024-42353

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-42353
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42353.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-42353
Aliases
Downstream
Related
Published
2024-08-14T21:15:17Z
Modified
2025-09-24T12:29:10.608462Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/pylons/webob

Affected ranges

Type
GIT
Repo
https://github.com/pylons/webob
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.8
0.8.1
0.8.2
0.8.3
0.8.4
0.8.5
0.9
0.9.1
0.9.2
0.9.3
0.9.4
0.9.5
0.9.6
0.9.6.1
0.9.7
0.9.7.1
0.9.8

1.*

1.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.1
1.1.1
1.1b2
1.1beta1
1.1rc1
1.2
1.2.1
1.2.2
1.2.3
1.2a1
1.2a2
1.2b1
1.2b2
1.2b3
1.2rc1
1.3
1.3.1
1.4
1.5.0a0
1.8.0
1.8.0rc1
1.8.1
1.8.2
1.8.3
1.8.4
1.8.5
1.8.6
1.8.7

Other

sprint-coverage

v1.*

v1.8.2
v1.8.3