VDB
Sign up
MEDIUM6.5

GHSA-7rx2-769v-hrwf

HashiCorp Vault ldap auth method may not have correctly enforced MFA

Quick fix

GHSA-7rx2-769v-hrwf — github.com/hashicorp/vault: upgrade to the fixed version with the command below.

go get github.com/hashicorp/vault@v1.20.2

Details

Vault and Vault Enterprise’s (“Vault”) ldap auth method may not have correctly enforced MFA if username_as_alias was set to true and a user had multiple CNs that are equal but with leading or trailing spaces. Fixed in Vault Community Edition 1.20.2 and Vault Enterprise 1.20.2, 1.19.8, 1.18.13, and 1.16.24.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/hashicorp/vault
Introduced in: 0Fixed in: 1.20.2
Fixgo get github.com/hashicorp/vault@v1.20.2

References