Skip to content
OpenAdvisories
High · 7.5 CVE-2024-7594 BIT-openbao-2024-7594BIT-vault-2024-7594EUVD-2024-2820GHSA-jg74-mwgw-v6x3GO-2024-3162

Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default

Published Sep 26, 2024 · Updated Jan 10, 2025 · Assigned by HashiCorp

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.

Affected products

VendorProductAffectedFixed
HashiCorp Vault 1.7.7 – < 1.17.6 1.17.6
HashiCorp Vault Enterprise 1.7.7 – < 1.17.6 1.17.6

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20241030T212825-150000.1.9.1 SUSE-SU-2024:3911-1
SLES 15 SP5 govulncheck-vulndb 0.0.20241030T212825-150000.1.9.1 SUSE-SU-2024:3911-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Package Hub 12 govulncheck-vulndb 0.0.20241104T154416-5.1 openSUSE-SU-2024:0350-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20241030T212825-1.1 openSUSE-SU-2024:14447-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20241030T212825-150000.1.9.1 SUSE-SU-2024:3911-1
openSUSE Leap 15.5 govulncheck-vulndb 0.0.20241030T212825-150000.1.9.1 SUSE-SU-2024:3911-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/hashicorp/vault >= 1.7.7, < 1.17.6 1.17.6 GHSA-jg74-mwgw-v6x3
Go github.com/openbao/openbao >= 0.1.0 — GHSA-jg74-mwgw-v6x3
Go github.com/openbao/openbao < 0.0.0-20241003222810-d5b4e9224698 0.0.0-20241003222810-d5b4e9224698 GHSA-jg74-mwgw-v6x3

Advisories 4

References