VULNERABILITY

Amazon Linux AMI 2: CVE-2024-22195: Security patch for python-jinja2, python3-jinja2 (Multiple Advisories)

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

Amazon Linux AMI 2: CVE-2024-22195: Security patch for python-jinja2, python3-jinja2 (Multiple Advisories)

Severity
6
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:N)
Published
01/11/2024
Created
02/09/2024
Added
02/08/2024
Modified
02/17/2025

Description

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.

Solution(s)

  • amazon-linux-ami-2-upgrade-python-jinja2
  • amazon-linux-ami-2-upgrade-python3-jinja2

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;