Advisory

GHSA-32cj-5wx4-gq8p

Also known as: BIT-vault-2024-5798, CVE-2024-5798, GO-2024-2921

Summary

HashiCorp 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.

This vulnerability, CVE-2024-5798, was fixed in Vault and Vault Enterprise 1.17.0, 1.16.3, and 1.15.9

Severity

Low Basis: The source's own band: LOW

Dates

Published
2024-06-12 21:31 UTC
Modified
2026-08-07 08:12 UTC

Affected packages and fixes

github.com/hashicorp/vault

Go · All systems

Affected

  • introduced 1.17.0-rc1, fixed 1.17.0 (semver)

Fixed versions

1.17.0

Fix

github.com/hashicorp/vault

Go · All systems

Affected

  • introduced 1.16.0-rc1, fixed 1.16.3 (semver)

Fixed versions

1.16.3

Fix

github.com/hashicorp/vault

Go · All systems

Affected

  • introduced 0.11.0, fixed 1.15.9 (semver)

Fixed versions

1.15.9

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences