Skip to content

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

Low severity GitHub Reviewed Published Jun 12, 2024 to the GitHub Advisory Database • Updated Jun 12, 2024

Package

gomod github.com/hashicorp/vault (Go)

Affected versions

= 1.17.0-rc1
>= 1.16.0-rc1, < 1.16.3
>= 0.11.0, < 1.15.9

Patched versions

1.17.0
1.16.3
1.15.9

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

References

Published by the National Vulnerability Database Jun 12, 2024
Published to the GitHub Advisory Database Jun 12, 2024
Last updated Jun 12, 2024
Reviewed Jun 12, 2024

Severity

Low
2.6
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
High
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N

Weaknesses

CVE ID

CVE-2024-5798

GHSA ID

GHSA-32cj-5wx4-gq8p

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.