High severityNVD Advisory· Published Sep 26, 2024· Updated Jan 10, 2025
Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default
CVE-2024-7594
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/hashicorp/vaultGo | >= 1.7.7, < 1.17.6 | 1.17.6 |
github.com/openbao/openbaoGo | >= 0.1.0 | — |
github.com/openbao/openbaoGo | < 0.0.0-20241003222810-d5b4e9224698 | 0.0.0-20241003222810-d5b4e9224698 |
Affected products
15- osv-coords13 versionspkg:apk/chainguard/vault-1.17pkg:apk/chainguard/vault-1.17-compatpkg:apk/chainguard/vault-fips-1.17pkg:apk/chainguard/vault-fips-1.17-compatpkg:bitnami/vaultpkg:golang/github.com/hashicorp/vaultpkg:golang/github.com/openbao/openbaopkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweedpkg:rpm/suse/govulncheck-vulndb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5pkg:rpm/suse/govulncheck-vulndb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6pkg:rpm/suse/govulncheck-vulndb&distro=SUSE%20Package%20Hub%2012
< 1.17.6-r9+ 12 more
- (no CPE)range: < 1.17.6-r9
- (no CPE)range: < 1.17.6-r9
- (no CPE)range: < 1.17.6-r0
- (no CPE)range: < 1.17.6-r0
- (no CPE)range: >= 1.7.7, < 1.17.6
- (no CPE)range: >= 1.7.7, < 1.17.6
- (no CPE)range: >= 0.1.0
- (no CPE)range: < 0.0.20241030T212825-150000.1.9.1
- (no CPE)range: < 0.0.20241030T212825-150000.1.9.1
- (no CPE)range: < 0.0.20241030T212825-1.1
- (no CPE)range: < 0.0.20241030T212825-150000.1.9.1
- (no CPE)range: < 0.0.20241030T212825-150000.1.9.1
- (no CPE)range: < 0.0.20241104T154416-5.1
- Range: 1.7.7
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-jg74-mwgw-v6x3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-7594ghsaADVISORY
- discuss.hashicorp.com/t/hcsec-2024-20-vault-ssh-secrets-engine-configuration-did-not-restrict-valid-principals-by-default/70251ghsaWEB
- github.com/openbao/openbao/commit/d5b4e922469830ac335b21dc0e8f9878c501a884ghsaWEB
- github.com/openbao/openbao/pull/561ghsaWEB
- openbao.org/docs/release-notes/2-0-0/ghsaWEB
- pkg.go.dev/vuln/GO-2024-3162ghsaWEB
- security.netapp.com/advisory/ntap-20250110-0007ghsaWEB
News mentions
0No linked articles in our index yet.