GitHub Advisoryadvisory · Go

GHSA-jg74-mwgw-v6x3 Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default

HIGH Published 2024-09-26 Modified 2025-08-12 Official page ↗
Aliases
CVE-2024-7594
Ecosystem
Go
Packages
github.com/hashicorp/vault, github.com/openbao/openbao
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-732
Reviewed
2024-09-26

Affected packages

• Go github.com/hashicorp/vault: >= 1.7.7, < 1.17.6 → fixed in 1.17.6 • Go github.com/openbao/openbao: < 2.0.2 (no fix yet) • Go github.com/openbao/openbao: < 0.0.0-20241003222810-d5b4e9224698 → fixed in 0.0.0-20241003222810-d5b4e9224698

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.

Related

Alias · CVE (1)

  • CVE-2024-7594 Vault’s SSH secrets engine did not require the valid_principals list to contain a value by default. vulnerability

Weakness · CWE (1)

  • CWE-732 Incorrect Permission Assignment for Critical Resource weakness

References