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 v3.1
8.800000190734863
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected Products

VendorProductVersions
Alpine:v3.18py3-jinja20, 2.10-r0, 2.10-r1
Alpine:v3.19py3-jinja20, 2.10-r0, 2.10-r1
Alpine:v3.23py3-jinja23.1.4-r0, 0, 2.10-r0
Alpine:v3.22py3-jinja20, 2.10-r0, 2.10-r1
Alpine:v3.21py3-jinja20, 2.10-r0, 2.10-r1
Alpine:v3.20py3-jinja20, 2.10-r0, 2.10-r1

Timeline

References

Open in Interactive Console →