Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims
HashiCorp Vault · HashiCorp Vault Enterprise
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/hashicorp/vault Go |
|
|
HashiCorp Vault · HashiCorp Vault Enterprise
| Product | Affected | Fixed in |
|---|---|---|
| github.com/hashicorp/vault Go |
|
|
Vault and Vault Enterprise did not properly validate the JSON Web Token (JWT) role-bound audience claim when using the Vault JWT auth method. This may have resulted in Vault validating a JWT the audience and role-bound claims do not match, allowing an invalid login to succeed when it should have been rejected.
This vulnerability, CVE-2024-5798, was fixed in Vault and Vault Enterprise 1.17.0, 1.16.3, and 1.15.9
From the CVE record · HashiCorp
Vault and Vault Enterprise did not properly validate the role-bound audience claim when using the JWT auth method. A JWT with mismatched audience and role-bound claims could be accepted, allowing a login that should have been rejected.
Teams running HashiCorp Vault or Vault Enterprise, including affected versions of the Go package github.com/hashicorp/vault before the applicable fixes in 1.15.9, 1.16.3, or 1.17.0, should check their deployments.