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

exploitDog

ubuntu логотип

CVE-2024-56326

Опубликовано: 23 дек. 2024
Источник: ubuntu
Приоритет: medium
CVSS3: 7.8

Описание

Jinja is an extensible templating engine. Prior to 3.1.5, An oversight in how the Jinja sandboxed environment detects calls to str.format allows an attacker that controls the content of a template to execute arbitrary Python code. To exploit the vulnerability, an attacker needs to control the content 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. Jinja's sandbox does catch calls to str.format and ensures they don't escape the sandbox. However, it's possible to store a reference to a malicious string's format method, then pass that to a filter that calls it. No such filters are built-in to Jinja, but could be present through custom filters in an application. After the fix, such indirect calls are also handled by the sandbox. This vulnerability is fixed in 3.1.5.

РелизСтатусПримечание
devel

not-affected

3.1.5-2
esm-infra-legacy/trusty

released

2.7.2-2ubuntu0.1~esm6
esm-infra/bionic

released

2.10-1ubuntu0.18.04.1+esm3
esm-infra/focal

released

2.10.1-2ubuntu0.4
esm-infra/xenial

released

2.8-1ubuntu0.1+esm5
focal

released

2.10.1-2ubuntu0.4
jammy

released

3.0.3-1ubuntu0.3
noble

released

3.1.2-1ubuntu1.2
oracular

released

3.1.3-1ubuntu1.24.10.1
plucky

not-affected

3.1.5-2

Показывать по

7.8 High

CVSS3

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

CVSS3: 6.3
redhat
11 месяцев назад

Jinja is an extensible templating engine. Prior to 3.1.5, An oversight in how the Jinja sandboxed environment detects calls to str.format allows an attacker that controls the content of a template to execute arbitrary Python code. To exploit the vulnerability, an attacker needs to control the content 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. Jinja's sandbox does catch calls to str.format and ensures they don't escape the sandbox. However, it's possible to store a reference to a malicious string's format method, then pass that to a filter that calls it. No such filters are built-in to Jinja, but could be present through custom filters in an application. After the fix, such indirect calls are also handled by the sandbox. This vulnerability is fixed in 3.1.5.

CVSS3: 7.8
nvd
11 месяцев назад

Jinja is an extensible templating engine. Prior to 3.1.5, An oversight in how the Jinja sandboxed environment detects calls to str.format allows an attacker that controls the content of a template to execute arbitrary Python code. To exploit the vulnerability, an attacker needs to control the content 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. Jinja's sandbox does catch calls to str.format and ensures they don't escape the sandbox. However, it's possible to store a reference to a malicious string's format method, then pass that to a filter that calls it. No such filters are built-in to Jinja, but could be present through custom filters in an application. After the fix, such indirect calls are also handled by the sandbox. This vulnerability is fixed in 3.1.5.

CVSS3: 7.8
msrc
10 месяцев назад

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

CVSS3: 7.8
debian
11 месяцев назад

Jinja is an extensible templating engine. Prior to 3.1.5, An oversight ...

suse-cvrf
10 месяцев назад

Security update for python-Jinja2

7.8 High

CVSS3