Описание
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
Ссылки
- PatchThird Party Advisory
- ExploitMitigationThird Party Advisory
- ExploitThird Party Advisory
- PatchThird Party Advisory
- ExploitMitigationThird Party Advisory
- ExploitThird Party Advisory
Уязвимые конфигурации
EPSS
8.4 High
CVSS3
9.1 Critical
CVSS3
9 Critical
CVSS2
Дефекты
Связанные уязвимости
vault-cli contains possible RCE when reading user-defined data
EPSS
8.4 High
CVSS3
9.1 Critical
CVSS3
9 Critical
CVSS2