Skip to main content
← All vulnerabilities
CVE-2024-5798GHSA-32CJ-5WX4-GQ8PBIT-VAULT-2024-5798GO-2024-2921

Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.14.13, 1.17.0, 1.16.3, 1.15.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • HashiCorp Vault

    From 0.11.0 · fixed in 1.14.13

  • HashiCorp Vault Enterprise

    From 0.11.0 · fixed in 1.14.13

  • github.com/hashicorp/vaultGo

    From 1.17.0-rc1 · fixed in 1.17.0

  • github.com/hashicorp/vaultGo

    From 1.16.0-rc1 · fixed in 1.16.3

  • github.com/hashicorp/vaultGo

    From 0.11.0 · fixed in 1.15.9

  • github.com/hashicorp/vaultGo

    From 0.11.0 · fixed in 1.16.3; From 1.17.0-rc1 · fixed in 1.17.0

References 1

discuss.hashicorp.com