USN-6599-1

Type: Security
Severity: Medium
Published: 2024-01-25
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)

Yeting Li discovered that Jinja incorrectly handled certain regex. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. (CVE-2020-28493) It was discovered that Jinja incorrectly handled certain HTML passed with xmlatter filter. An attacker could inject arbitrary HTML attributes keys and values potentially leading to XSS. (CVE-2024-22195) Update Instructions: Run `sudo pro fix USN-6599-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python-jinja2 - 2.10.1-2ubuntu0.2 python-jinja2-doc - 2.10.1-2ubuntu0.2 python3-jinja2 - 2.10.1-2ubuntu0.2 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T00:47:41.838Z UTC. Last updated 2025-11-26T08:14:14.622Z UTC.

Upstream Advisory

Affected Packages

  • python-jinja2 2.10.1-2ubuntu0.2-2.10.1-2ubuntu0.2

  • python-jinja2-doc 2.10.1-2ubuntu0.2-2.10.1-2ubuntu0.2

  • python3-jinja2 2.10.1-2ubuntu0.2-2.10.1-2ubuntu0.2

  • python-jinja2-doc 3.0.3-1ubuntu0.1-3.0.3-1ubuntu0.1

  • python3-jinja2 3.0.3-1ubuntu0.1-3.0.3-1ubuntu0.1

Interested in being alerted when there are new versions of python-jinja2 and the other packages? Set up an alert.
USN-6599-1: Jinja2 vulnerabilities | Package Alert