CVEfocus › CVE database › CVE-2024-7594

CVE-2024-7594Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default

CVSS 7.5 HighEPSS 0.5% (higher than 34% of CVEs)Published 2024-09-26Updated 2025-01-10Assigner: HashiCorp

Vault’s SSH secrets engine did not require the valid_principals list to contain a value by default. If the valid_principals and default_user fields of the SSH secrets engine configuration are not set, an SSH certificate requested by an authorized user to Vault’s SSH secrets engine could be used to authenticate as any user on the host. Fixed in Vault Community Edition 1.17.6, and in Vault Enterprise 1.17.6, 1.16.10, and 1.15.15.

CWE-732

What to do

Fixed builds are available from Go: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Go librarygithub.com/hashicorp/vaultFixed1.17.6GHSA-jg74-mwgw-v6x3
Go librarygithub.com/openbao/openbaoFixed0.0.0-20241003222810-d5b4e9224698GHSA-jg74-mwgw-v6x3

What the vendor says

As published in the CVE record by HashiCorp, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.