Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-gmj6-6f8f-6699

Опубликовано: 23 дек. 2024
Источник: github
Github: Прошло ревью
CVSS4: 5.4
CVSS3: 8.8

Описание

Jinja has a sandbox breakout through malicious filenames

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.

Пакеты

Наименование

jinja2

pip
Затронутые версииВерсия исправления

>= 3.0.0, <= 3.1.4

3.1.5

EPSS

Процентиль: 20%
0.00064
Низкий

5.4 Medium

CVSS4

8.8 High

CVSS3

Дефекты

CWE-150

Связанные уязвимости

ubuntu
6 месяцев назад

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.

CVSS3: 7.3
redhat
6 месяцев назад

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.

nvd
6 месяцев назад

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.

CVSS3: 8.8
msrc
5 месяцев назад

Описание отсутствует

debian
6 месяцев назад

Jinja is an extensible templating engine. In versions on the 3.x branc ...

EPSS

Процентиль: 20%
0.00064
Низкий

5.4 Medium

CVSS4

8.8 High

CVSS3

Дефекты

CWE-150