Skip to content

CVE-2024-5798 Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims

HighCVSS 7.5 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
hashicorp github.com/hashicorp/vault >= 0.11.0, < 1.15.9; >= 1.16.0, < 1.16.3 1.15.9, 1.16.3 Fixed
hashicorp github.com/hashicorp/vault(Go) = 1.17.0-rc1; >= 0.11.0, < 1.15.9; >= 0.11.0, < 1.16.3; >= 1.16.0-rc1, < 1.16.3 +1 more 1.15.9, 1.16.3, 1.17.0 Fixed
hashicorp Vault Enterprise >= 0.11.0, < 1.15.9 1.15.9 Fixed

Affected products

ProductAffected versionsFixed in
hashicorp github.com/hashicorp/vault(Go) >= 1.17.0-rc1, < 1.17.0 1.17.0
hashicorp github.com/hashicorp/vault(Go) = 1.17.0-rc1 No fix listed
hashicorp github.com/hashicorp/vault(Go) >= 1.16.0-rc1, < 1.16.3 1.16.3
hashicorp github.com/hashicorp/vault(Go) >= 0.11.0, < 1.15.9 1.15.9
hashicorp github.com/hashicorp/vault(Go) >= 0.11.0, < 1.16.3 1.16.3
hashicorp github.com/hashicorp/vault >= 0.11.0, < 1.15.9 1.15.9
hashicorp Vault Enterprise >= 0.11.0, < 1.15.9 1.15.9
hashicorp github.com/hashicorp/vault >= 1.16.0, < 1.16.3 1.16.3

References