Início
Tendências
Vulnerabilidades
Notícias
Pesquisadores
Por que dbugs?

Sleiner

#29273de 53,633
8.8CVSS total
Vulnerabilidades · 1
PT-2023-9827
8.8
2023-01-16
Jinja · Jinja · CVE-2024-56201
**Name of the Vulnerable Software and Affected Versions** Jinja versions prior to 3.1.5 **Description** Jinja is an extensible templating engine. 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 issue, an attacker needs to control both the filename and the contents of a template. This impacts users of applications which execute untrusted templates where the template author can also choose the template filename. **Recommendations** For versions prior to 3.1.5, update to version 3.1.5 to resolve the issue. As a temporary workaround, consider restricting the ability of template authors to choose the template filename to minimize the risk of exploitation. Avoid using untrusted templates where the template author can control both the filename and the contents.