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.
How to fix
- hashicorp vault1.15.15, 1.17.6, 1.16.10 or later
- openbao openbao2.0.2 or later
- github.com/hashicorp/vault1.17.6 or later
- github.com/openbao/openbao0.0.0-20241003222810-d5b4e9224698 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashicorp vault | 1.7.7 ≤ v < 1.15.15, 1.7.7 ≤ v < 1.17.6, 1.16.0 ≤ v < 1.16.10, 1.17.0 ≤ v < 1.17.6 | 1.15.15, 1.17.6, 1.16.10 |
| openbao openbao | v < 2.0.2 | 2.0.2 |
| github.com/hashicorp/vaultGo | 1.7.7 ≤ v < 1.17.6 | 1.17.6 |
| github.com/openbao/openbaoGo | 0.1.0 ≤ v, v < 0.0.0-20241003222810-d5b4e9224698 | 0.0.0-20241003222810-d5b4e9224698 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.