Security mailing lists by PureSourceCode

CVE-2024-5798

HIGH 7.5CVSS 3.1

HashiCorp Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims

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

Published
12 Jun 2024
Last modified
7 Aug 2026
Assigned by
security@hashicorp.com
NVD status
Modified
Weakness
CWE-285CWE-287
Also known as
BIT-vault-2024-5798GHSA-32cj-5wx4-gq8pGO-2024-2921
Sources
NVDJSONOSV GHSA-32cj-5wx4-gq8pJSONOSV GO-2024-2921JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD security@hashicorp.com (Secondary) CVSS 3.1 LOW 2.6 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N
OSV GitHub CVSS 3.1 LOW 2.6 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
>= 0.11.0, < 1.15.9 1.15.9
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
>= 0.11.0, < 1.15.9 1.15.9
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
>= 1.16.0, < 1.16.3 1.16.3
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
>= 1.16.0, < 1.16.3 1.16.3
OSV Go github.com/hashicorp/vault >= 1.17.0-rc1, < 1.17.0 1.17.0
OSV Go github.com/hashicorp/vault >= 1.16.0-rc1, < 1.16.3 1.16.3
OSV Go github.com/hashicorp/vault >= 0.11.0, < 1.15.9 1.15.9
OSV Go github.com/hashicorp/vault >= 0.11.0, < 1.16.3; >= 1.17.0-rc1, < 1.17.0 1.16.3, 1.17.0

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 12 Jun 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Jun 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.