VDB
ALPINE-CVE-2024-56201
ALPINE-CVE-2024-56201
PUBLISHED
CVSS 8.800000190734863 HIGH
Jinja is an extensible templating engine. In versions on the 3.x branch prior to 3.1.5, a bug in the Jinja compiler allows an attacker that controls both the content and filename of a template to execute arbitrary Python code, regardless of if Jinja's sandbox is used. To exploit the vulnerability, an attacker needs to control both the filename and the contents of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates where the template author can also choose the template filename. This vulnerability is fixed in 3.1.5.
Risk Scores
CVSS 3.1
8.800000190734863
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.18 | py3-jinja2 | 2.10-r1, 2.10-r2, 2.10-r3 |
| Alpine:v3.19 | py3-jinja2 | 2.7.1-r0, 2.11.1-r0, 0 |
| Alpine:v3.23 | py3-jinja2 | 3.1.4-r0, 3.1.3-r1, 3.1.3-r0 |
| Alpine:v3.22 | py3-jinja2 | 2.9.6-r0, 0, 2.10-r2 |
| Alpine:v3.21 | py3-jinja2 | 3.1.4-r0, 3.1.3-r1, 3.1.3-r0 |
| Alpine:v3.20 | py3-jinja2 | 0, 2.10-r3, 2.10.1-r0 |
Timeline
- Dec 23, 2024 CVE Published
- Dec 3, 2025 CVE Updated
- Apr 30, 2026 Distribution Patch