HashiCorp Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims
GHSA-32cj-5wx4-gq8p · BIT-vault-2024-5798 · CVE-2024-5798 · GO-2024-2921
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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
Ready to move
Start Securing
Free, no credit card | First findings in minutes