{"id":"BIT-vault-2024-5798","summary":"Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims","details":"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.\n\nThis vulnerability, CVE-2024-5798, was fixed in Vault and Vault Enterprise 1.17.0, 1.16.3, and 1.15.9","aliases":["CVE-2024-5798","GHSA-32cj-5wx4-gq8p","GO-2024-2921"],"modified":"2026-09-08T08:48:21.274102654Z","published":"2024-06-17T07:39:45.639Z","database_specific":{"cpes":["cpe:2.3:a:hashicorp:vault:*:*:*:*:*:*:*:*","cpe:2.3:a:hashicorp:vault:*:*:*:*:*:go:*:*","cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:go:*:*","cpe:2.3:a:hashicorp:vault:*:*:*:*:community:go:*:*"],"severity":"High"},"references":[{"type":"ADVISORY","url":"https://discuss.hashicorp.com/t/hcsec-2024-11-vault-incorrectly-validated-json-web-tokens-jwt-audience-claims/67770"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5798"}],"affected":[{"package":{"name":"vault","ecosystem":"Bitnami","purl":"pkg:bitnami/vault"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.11.0"},{"fixed":"1.16.2"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/vault/BIT-vault-2024-5798.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}],"schema_version":"1.9.0"}