USN-7343-1
Active Moderatejinja2 vulnerabilities
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2025-27516 | UpstreamExact relationship valueupstream | UpstreamExact field valueupstream | Unknown |
Description
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.
Read full publisher description 860 characters
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+esm4
-
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
Affected ranges and events
- ECOSYSTEM
- introduced: 0
- Fixed at 2.10-1ubuntu0.18.04.1+esm4
-
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.
| Scope | Version | Score | Severity | Source | Vector |
|---|---|---|---|---|---|
| ubuntu/bionic | 3.1 | Unknown | Unknown | Canonical | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| ubuntu/bionic | 4.0 | Unknown | Unknown | Canonical | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| ubuntu/bionic | Unknown | Unknown | Moderate | Ubuntu | Unknown |
Publisher references
4Provenance
- Schema version
- 1.9.2
- Parser version
- ubuntu-osv/1
- Data license
- CC-BY-SA-4.0
- Attribution
- Canonical / Ubuntu Security Team
- Severity origin
- publisher
No publisher provenance records were supplied.