HIGH 7.5 Go

Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default

GHSA-jg74-mwgw-v6x3 · BIT-openbao-2024-7594 · BIT-vault-2024-7594 · CVE-2024-7594 · GO-2024-3162

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes