Vulnerability · Published Sep 26, 2024 · Assigned by HashiCorp
CVE-2024-7594Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default
High 7.5
In plain English
A high-severity incorrect permission assignment in Vault from HashiCorp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/hashicorp/vault | 1.17.6 | GHSA-jg74-mwgw-v6x3 |
| Go | github.com/hashicorp/vault | 1.17.6 | GO-2024-3162 |
| Go | github.com/openbao/openbao | no fix listed | GHSA-jg74-mwgw-v6x3 |
| Go | github.com/openbao/openbao | 0.0.0-20241003222810-d5b4e9224698 | GHSA-jg74-mwgw-v6x3 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| HashiCorp | Vault | 1.7.7 – before 1.17.6 |
| HashiCorp | Vault Enterprise | 1.7.7 – before 1.17.6 |
Weakness: CWE-732 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H