VDB
Sign up
HIGH8.1

GHSA-wmg5-g953-qqfw

Hashicorp Vault Fails to Verify if Approle SecretID Belongs to Role During a Destroy Operation

Quick fix

GHSA-wmg5-g953-qqfw — github.com/hashicorp/vault: upgrade to the fixed version with the command below.

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

Details

When using the Vault and Vault Enterprise (Vault) approle auth method, any authenticated user with access to the `/auth/approle/role/:role_name/secret-id-accessor/destroy` endpoint can destroy the secret ID of any other role by providing the secret ID accessor. This vulnerability, CVE-2023-24999, has been fixed in Vault 1.13.0, 1.12.4, 1.11.8, 1.10.11 and above.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/hashicorp/vault
Introduced in: 0Fixed in: 1.10.11
Fixgo get github.com/hashicorp/vault@v1.10.11
Go/github.com/hashicorp/vault
Introduced in: 1.11.0Fixed in: 1.11.8
Fixgo get github.com/hashicorp/vault@v1.11.8
Go/github.com/hashicorp/vault
Introduced in: 1.12.0Fixed in: 1.12.4
Fixgo get github.com/hashicorp/vault@v1.12.4

References