ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2024-503

Amazon Linux 2023 - ALAS2023-2024-503: Medium priority package update for python-jinja2

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-22195: Jinja is an extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. It is possible to inject arbitrary HTML attributes into the rendered HTML template, potentially leading to Cross-Site Scripting (XSS). The Jinja xmlattr filter can be abused to inject arbitrary HTML attribute keys and values, bypassing the auto escaping mechanism and potentially leading to XSS. It may also be possible to bypass attribute validation checks if they are blacklist-based.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023python3-jinja2
All versions before 2.11.3-1.amzn2023.0.3 (fixed in 2.11.3-1.amzn2023.0.3)

References