Skip to content

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

HighCVSS 8.8 EPSS 0.48%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

6 packages: 5 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
openbao(Go) < 0.0.0-20241003222810-d5b4e9224698; >= 0.1.0; >= 0.1.0, < 2.0.2 0.0.0-20241003222810-d5b4e9224698, 2.0.2 Partially fixed
hashicorp github.com/hashicorp/vault >= 1.7.7, < 1.15.15; >= 1.7.7, < 1.17.6; >= 1.16.0, < 1.16.10; >= 1.17.0, < 1.17.6 1.15.15, 1.16.10, 1.17.6 Fixed
hashicorp github.com/hashicorp/vault(Go) >= 1.7.7, < 1.17.6 1.17.6 Fixed
hashicorp vault community edition >= 1.7.7, < 1.17.6 1.17.6 Fixed
hashicorp Vault Enterprise = 1.15.14; = 1.16.9; >= 1.7.7, < 1.16.10; >= 1.7.7, < 1.17.6 1.16.10, 1.17.6 Fixed
openbao < 2.0.2 2.0.2 Fixed

Affected products

ProductAffected versionsFixed in
hashicorp github.com/hashicorp/vault(Go) >= 1.7.7, < 1.17.6 1.17.6
openbao(Go) >= 0.1.0 No fix listed
openbao(Go) < 0.0.0-20241003222810-d5b4e9224698 0.0.0-20241003222810-d5b4e9224698
openbao(Go) >= 0.1.0, < 2.0.2 2.0.2
hashicorp github.com/hashicorp/vault >= 1.7.7, < 1.17.6 1.17.6
hashicorp Vault Enterprise >= 1.7.7, < 1.16.10 1.16.10
hashicorp Vault Enterprise >= 1.7.7, < 1.17.6 1.17.6
hashicorp Vault Enterprise = 1.16.9 No fix listed
hashicorp Vault Enterprise = 1.15.14 No fix listed
hashicorp vault community edition >= 1.7.7, < 1.17.6 1.17.6
hashicorp github.com/hashicorp/vault >= 1.7.7, < 1.15.15 1.15.15
hashicorp github.com/hashicorp/vault >= 1.16.0, < 1.16.10 1.16.10
hashicorp github.com/hashicorp/vault >= 1.17.0, < 1.17.6 1.17.6
openbao < 2.0.2 2.0.2

References