ALAS-2025-2726


Amazon Linux 2 Security Advisory: ALAS-2025-2726
Advisory Release Date: 2025-01-04 00:04 Pacific
Advisory Updated Date: 2025-01-09 15:39 Pacific
Severity: Medium

Issue Overview:

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. (CVE-2024-42353)


Affected Packages:

python-webob


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update python-webob to update your system.

New Packages:
noarch:
    python-webob-1.2.3-7.amzn2.0.1.noarch

src:
    python-webob-1.2.3-7.amzn2.0.1.src