Skip to main content
VulnerabilityPublished Updated

jinja2 regression

Affects jinja2Source GCVE Database

0

Mentioned vulnerabilities

Fixed in 2.10-1ubuntu0.18.04.1+esm5 : update jinja2 when convenient.

Data as of 24 Nov 2026, 17:24 UTC

Severity
Unrated

Rated by Threat Radar

Patch
Available – fixed in 2.10-1ubuntu0.18.04.1+esm5, 2.10.1-2ubuntu0.6

What to do

Upgrade the Ubuntu jinja2 to 2.10-1ubuntu0.18.04.1+esm5 (package) or 2.10.1-2ubuntu0.6 (package).

Affected software

ProductAffectedFixed in
Ubuntu 20.04 LTSjinja2pkg:deb/ubuntu/jinja2?arch=source&distro=focalOther threatsAffected
  • <2.10.1-2ubuntu0.6
Fixed in
  • 2.10.1-2ubuntu0.6
Ubuntu Pro 18.04 LTSjinja2pkg:deb/ubuntu/jinja2?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.10-1ubuntu0.18.04.1+esm5
Fixed in
  • 2.10-1ubuntu0.18.04.1+esm5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

USN-7343-1 fixed vulnerabilities in Jinja2. The update introduced a regression when attempting to import Jinja2 on Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. This update fixes the problem. We apologize for the inconvenience. Original advisory details: Rafal Krupinski discovered that Jinja2 did not properly restrict the execution of code in situations where templates are used maliciously. An attacker with control over a template's filename and content could potentially use this issue to enable the execution of arbitrary code. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2024-56201) It was discovered that Jinja2 sandboxed environments could be escaped through a call to a string format method. An attacker could possibly use this issue to enable the execution of arbitrary code. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2024-56326) It was discovered that Jinja2 sandboxed environments could be escaped through the malicious use of certain filters. An attacker could possibly use this issue to enable the execution of arbitrary code. (CVE-2025-27516)

References

Community reviews

Loading reviews…