DirectorySecurity Advisories
Sign In
Security Advisories

CVE-2024-56201

Published

Last updated

NVD

https://nvd.nist.gov/vuln/detail/CVE-2024-56201

CGA ID

CGA-xqq4-gxgx-3463

Severity

8.8

High

CVSS V3

Summary

Jinja has a sandbox breakout through malicious filenames

Description

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.

References

Affected packages


Safe Source for Open Sourceâ„¢
Media KitContact Us
© 2024 Chainguard. All Rights Reserved.
Private PolicyTerms of Use

Product

Chainguard Images