GitHub Advisoryadvisory · Go
GHSA-32cj-5wx4-gq8p HashiCorp Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims
LOW
Official page ↗
- Aliases
- CVE-2024-5798
- Ecosystem
- Go
- Packages
- github.com/hashicorp/vault
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N
- Weaknesses
- CWE-285
- Reviewed
- 2024-06-12
Affected packages
• Go github.com/hashicorp/vault: >= 1.17.0-rc1, < 1.17.0 → fixed in 1.17.0
• Go github.com/hashicorp/vault: >= 1.16.0-rc1, < 1.16.3 → fixed in 1.16.3
• Go github.com/hashicorp/vault: >= 0.11.0, < 1.15.9 → fixed in 1.15.9
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
Related
Alias · CVE (1)
- CVE-2024-5798 Vault and Vault Enterprise did not properly validate the JSON Web Token (JWT) role-bound audience claim when using the Vault JWT auth… vulnerability
Weakness · CWE (1)
- CWE-285 Improper Authorization weakness