Jinja is an extensible templating engine. 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.
Metrics
Affected Vendors & Products
References
History
Mon, 23 Dec 2024 15:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | Jinja is an extensible templating engine. 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. | |
Title | Jinja has a sandbox breakout through malicious filenames | |
Weaknesses | CWE-150 | |
References |
| |
Metrics |
cvssV4_0
|
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2024-12-23T15:37:36.110Z
Updated: 2024-12-23T15:37:36.110Z
Reserved: 2024-12-18T18:29:25.896Z
Link: CVE-2024-56201
Vulnrichment
No data.
NVD
Status : Received
Published: 2024-12-23T16:15:07.410
Modified: 2024-12-23T16:15:07.410
Link: CVE-2024-56201
Redhat
No data.