{"id":"GHSA-32cj-5wx4-gq8p","revision":"d7c661ae5db046f2bdea698e611e2f0b","records":[{"revision":"d7c661ae5db046f2bdea698e611e2f0b","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-32cj-5wx4-gq8p","aliases":["BIT-vault-2024-5798","CVE-2024-5798","GO-2024-2921"],"title":"HashiCorp Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims","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.\n\nThis vulnerability, CVE-2024-5798, was fixed in Vault and Vault Enterprise 1.17.0, 1.16.3, and 1.15.9","state":0,"publishedAt":"2024-06-12T21:31:19+00:00","modifiedAt":"2026-08-07T08:12:02.3642723+00:00","affected":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.17.0-rc1"},{"kind":"fixed","version":"1.17.0"}]}],"versions":["1.17.0-rc1"],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.16.0-rc1"},{"kind":"fixed","version":"1.16.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.11.0"},{"kind":"fixed","version":"1.15.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-5798","https://discuss.hashicorp.com/t/hcsec-2024-11-vault-incorrectly-validated-json-web-tokens-jwt-audience-claims/67770","https://github.com/hashicorp/vault","https://pkg.go.dev/vuln/GO-2024-2921"],"sourceUrl":"https://github.com/advisories/GHSA-32cj-5wx4-gq8p","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-32cj-5wx4-gq8p","identifiers":["GHSA-32cj-5wx4-gq8p","BIT-vault-2024-5798","CVE-2024-5798","GO-2024-2921"]},"retained":false,"historicalAffected":[]}],"coverage":[]}