USN-7244-1

Type: Security
Severity: Medium
Published: 2025-01-30
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that Jinja2 incorrectly handled certain filenames when compiling template content. An attacker could possibly use this issue to execute arbitrary code. (CVE-2024-56201) It was discovered that Jinja2 incorrectly handled string formatting calls. An attacker could possibly use this issue to execute arbitrary code. (CVE-2024-56326) Update Instructions: Run `sudo pro fix USN-7244-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python-jinja2-doc - 3.0.3-1ubuntu0.3 python3-jinja2 - 3.0.3-1ubuntu0.3 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T01:47:42.136Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T01:47:42.136Z UTC. Last updated 2025-11-26T08:43:56.384Z UTC.

Upstream Advisory

Affected Packages

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

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

  • python-jinja2-doc 3.1.2-1ubuntu1.2-3.1.2-1ubuntu1.2

  • python3-jinja2 3.1.2-1ubuntu1.2-3.1.2-1ubuntu1.2

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

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

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

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