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

exploitDog

nvd логотип

CVE-2021-43837

Опубликовано: 16 дек. 2021
Источник: nvd
CVSS3: 8.4
CVSS3: 9.1
CVSS2: 9
EPSS Низкий

Описание

vault-cli is a configurable command-line interface tool (and python library) to interact with Hashicorp Vault. In versions before 3.0.0 vault-cli features the ability for rendering templated values. When a secret starts with the prefix !template!, vault-cli interprets the rest of the contents of the secret as a Jinja2 template. Jinja2 is a powerful templating engine and is not designed to safely render arbitrary templates. An attacker controlling a jinja2 template rendered on a machine can trigger arbitrary code, making this a Remote Code Execution (RCE) risk. If the content of the vault can be completely trusted, then this is not a problem. Otherwise, if your threat model includes cases where an attacker can manipulate a secret value read from the vault using vault-cli, then this vulnerability may impact you. In 3.0.0, the code related to interpreting vault templated secrets has been removed entirely. Users are advised to upgrade as soon as possible. For users unable to upgrade a wo

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:vault-cli_project:vault-cli:*:*:*:*:*:python:*:*
Версия от 0.7.0 (включая) до 3.0.0 (исключая)

EPSS

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

8.4 High

CVSS3

9.1 Critical

CVSS3

9 Critical

CVSS2

Дефекты

CWE-74
CWE-94

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

CVSS3: 8.4
github
около 4 лет назад

vault-cli contains possible RCE when reading user-defined data

EPSS

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

8.4 High

CVSS3

9.1 Critical

CVSS3

9 Critical

CVSS2

Дефекты

CWE-74
CWE-94