USN-7343-2
Active Unknownjinja2 regression
Related CVEs
CVE identifiers linked by this publisher.
No explicit CVE relationships were stored for this advisory.
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
Read full publisher description 1109 characters
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)
No solution guidance was provided.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 3 occurrences- Ecosystem
- Ubuntu:Pro:18.04:LTS
- Fixed version
- 2.10-1ubuntu0.18.04.1+esm5
-
1jinja2Source package
Occurrence-specific details
- Package role
- Source package
Versions
- 2.9.6-1
- 2.10-1
- 2.10-1ubuntu0.18.04.1
- 2.10-1ubuntu0.18.04.1+esm1
- 2.10-1ubuntu0.18.04.1+esm2
- 2.10-1ubuntu0.18.04.1+esm3
- 2.10-1ubuntu0.18.04.1+esm4
Affected ranges and events
- ECOSYSTEM
- introduced: 0
- Fixed at 2.10-1ubuntu0.18.04.1+esm5
-
2python-jinja2Binary package
Occurrence-specific details
- Package role
- Binary package
Versions
Not supplied in this occurrence.
Affected ranges and events
Not supplied in this occurrence.
-
3python3-jinja2Binary package
Occurrence-specific details
- Package role
- Binary package
Versions
Not supplied in this occurrence.
Affected ranges and events
Not supplied in this occurrence.
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
2Provenance
- Schema version
- 1.9.2
- Parser version
- ubuntu-osv/1
- Data license
- CC-BY-SA-4.0
- Attribution
- Canonical / Ubuntu Security Team
No publisher provenance records were supplied.