CVE-2021-43837
8.4 · HIGHOverview
CVE-2021-43837 is a high-severity vulnerability affecting vault-cli_project vault-cli. It was published on December 16, 2021 and has a CVSS 3.1 base score of 8.4 (HIGH).
This vulnerability has a CVSS 3.1 base score of 8.4, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.
Technical Description
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
Remediation
Check the references section for vendor advisories and patches from vault-cli_project. Update vault-cli to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
Affected Products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| vault-cli_project | vault-cli | >= 0.7.0, < 3.0.0 | Affected |
References
Frequently Asked Questions
What is CVE-2021-43837?
CVE-2021-43837 is a high-severity vulnerability affecting vault-cli_project vault-cli. It was published on December 16, 2021 and has a CVSS 3.1 base score of 8.4 (HIGH).
How severe is CVE-2021-43837?
This vulnerability has a CVSS 3.1 base score of 8.4, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.
How do I fix or remediate CVE-2021-43837?
Check the references section for vendor advisories and patches from vault-cli_project. Update vault-cli to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2021-43837?
CyberStrike's AI-powered security agents can automatically detect CVE-2021-43837 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.
How CyberStrike Helps
AI agents map your attack surface to find vulnerabilities like this one.
Automated penetration testing that runs continuously, not just quarterly.
AI-driven PR review catches vulnerable dependencies before they ship.
Browser-based exploitation validates findings with real proof-of-concept.
Related HIGH CVEs from 2021
View all →systeminformation is an open source system and OS information library for node.js. A command injecti
An Improper Access Control Privilege Escalation Vulnerability was discovered in the User Setting of
An SQL injection Privilege Escalation Vulnerability was discovered in the Orion Platform reported by
Insecure deserialization leading to Remote Code Execution was detected in the Orion Platform version
Insecure Deserialization of untrusted data remote code execution vulnerability was discovered in Pat
Deserialization of Untrusted Data in the Web Console Chart Endpoint can lead to remote code executio
Insecure Deseralization of untrusted data remote code execution vulnerability was discovered in Patc
SAP Web Dispatcher versions - 7.49, 7.53, 7.77, 7.81, KRNL64NUC - 7.22, 7.22EXT, 7.49, KRNL64UC -7.2
uploader.php in the KCFinder integration project through 2018-06-01 for Drupal mishandles validation
An issue was discovered in the PageLayer plugin before 1.1.2 for WordPress. The pagelayer_settings_p
MK-AUTH through 19.01 K4.9 allows CSRF for password changes via the central/executar_central.php?aca
IBM Cloud Pak System 2.3 is vulnerable to cross-site request forgery which could allow an attacker t