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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.3%top 80.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/hashicorp/vault1.17.6GHSA-jg74-mwgw-v6x3
Gogithub.com/hashicorp/vault1.17.6GO-2024-3162
Gogithub.com/openbao/openbaono fix listedGHSA-jg74-mwgw-v6x3
Gogithub.com/openbao/openbao0.0.0-20241003222810-d5b4e9224698GHSA-jg74-mwgw-v6x3

Affected products (as reported)

VendorProductVersions
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

References