Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default
High severity
GitHub Reviewed
Published
Sep 26, 2024
to the GitHub Advisory Database
•
Updated Oct 9, 2024
Package
Affected versions
>= 1.7.7, < 1.17.6
Patched versions
1.17.6
Description
Published by the National Vulnerability Database
Sep 26, 2024
Published to the GitHub Advisory Database
Sep 26, 2024
Reviewed
Sep 26, 2024
Last updated
Oct 9, 2024
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.
References