Vulnerability · Published Jun 12, 2024 · Assigned by HashiCorp

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

Low 2.6

In plain English

A low-severity improper authentication in Vault from HashiCorp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)2.6Low
Exploit odds (30 days)0.3%top 72.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/hashicorp/vault1.17.0GHSA-32cj-5wx4-gq8p
Gogithub.com/hashicorp/vault1.16.3GHSA-32cj-5wx4-gq8p
Gogithub.com/hashicorp/vault1.15.9GHSA-32cj-5wx4-gq8p
Gogithub.com/hashicorp/vault1.16.3, 1.17.0GO-2024-2921

Affected products (as reported)

VendorProductVersions
HashiCorp Vault 0.11.0 – before 1.16.2
HashiCorp Vault Enterprise 0.11.0 – before 1.16.2

Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N

References