json-jwt allows bypass of identity checks via a sign/encryption confusion attack
Published: February 29, 2024
SECURITY IDENTIFIERS
- CVE: CVE-2023-51774 (NVD)
- GHSA: GHSA-c8v6-786g-vjx6
- Vendor Advisory: https://github.com/P3ngu1nW/CVE_Request/blob/main/novjson-jwt.md
GEM
PATCHED VERSIONS
~> 1.15.3, >= 1.15.3.1
>= 1.16.6
DESCRIPTION
The json-jwt (aka JSON::JWT) gem versions 1.16.5 and below sometimes allows bypass of identity checks via a sign/encryption confusion attack. For example, JWE can sometimes be used to bypass JSON::JWT.decode.
