Description
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
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HashiCorp | Vault | 0.11.0 – < 1.16.2 | 1.16.2 |
| HashiCorp | Vault Enterprise | 0.11.0 – < 1.16.2 | 1.16.2 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/hashicorp/vault | >= 1.17.0-rc1, < 1.17.0 | 1.17.0 | GHSA-32cj-5wx4-gq8p |
| Go | github.com/hashicorp/vault | >= 1.16.0-rc1, < 1.16.3 | 1.16.3 | GHSA-32cj-5wx4-gq8p |
| Go | github.com/hashicorp/vault | >= 0.11.0, < 1.15.9 | 1.15.9 | GHSA-32cj-5wx4-gq8p |
| Go | github.com/hashicorp/vault | >= 0.11.0, < 1.16.3 · >= 1.17.0-rc1, < 1.17.0 | 1.16.3, 1.17.0 | GO-2024-2921 |
Advisories 1
- WID-SEC-2024-1365 Hashicorp Vault: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Jun 12, 2024