QID 375783

Date Published: 2021-08-25

QID 375783: HashiCorp Vault PKI Secrets Engine Tidy Functionality Vulnerability

Vault is a tool for securely accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, or certificates. Vault provides a unified interface to any secret while providing tight access control and recording a detailed audit log.

Affected versions:
HashiCorp Vault version 1.5.1 and newer
HashiCorp Vault version prior to 1.5.8
HashiCorp Vault version prior to 1.6.4
HashiCorp Vault version prior to1.7.1
QID Detection Logic:
This QID detects vulnerable versions of Vault.

Successful exploitation of these vulnerabilities could affect Confidentiality, Integrity and Availability.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 4.3 severity.
  • Solution
    The Vendor has released security update to fix the vulnerability.For more information please visit 1.7.1Workaround:
    Exposure to this issue requires several conditions to be met:

    Use the PKI Secrets Engine provided by Vault 1.5.1 or newer.
    Use the PKI engines certificate revocation mechanism 4.
    Use and enforce the PKI engines certificate revocation list.
    Use the PKI engines tidy mechanism 2, with tidy_revoked_certs parameter set to non-default true.

    CVEs related to QID 375783

    Software Advisories
    Advisory ID Software Component Link
    HashiCorp Vault URL Logo discuss.hashicorp.com/t/hcsec-2021-09-vault-s-pki-engine-crl-may-exclude-revoked-but-unexpired-certificates-after-tidy/23461