PYSEC-2024-188

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/webob/PYSEC-2024-188.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2024-188
Aliases
Published
2024-08-14T21:15:17Z
Modified
2025-01-19T04:56:55.038129Z
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

PyPI / webob

Package

Affected ranges

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

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.1beta1
1.1b2
1.1rc1
1.1
1.1.1
1.2b1
1.2b2
1.2b3
1.2rc1
1.2
1.2.1
1.2.2
1.2.3
1.3
1.3.1
1.4
1.4.1
1.4.2
1.5.0a0
1.5.0a1
1.5.0b0
1.5.0
1.5.1
1.6.0a0
1.6.0
1.6.1
1.6.2
1.6.3
1.6.4
1.7.0rc1
1.7.0rc2
1.7.0
1.7.1
1.7.2
1.7.3
1.7.4
1.8.0rc1
1.8.0
1.8.1
1.8.2
1.8.3
1.8.4
1.8.5
1.8.6
1.8.7