Amazon Linux Security Advisory
ALAS2-2025-2726
Amazon Linux 2 2017.12 - ALAS2-2025-2726: medium priority package update for python-webob
Details
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | python-webob | All versions before 1.2.3-7.amzn2.0.1 (fixed in 1.2.3-7.amzn2.0.1) |