json-jwt allows bypass of identity checks via a sign/encryption confusion attack
Moderate severity
GitHub Reviewed
Published
Feb 29, 2024
to the GitHub Advisory Database
•
Updated Mar 6, 2024
Package
Affected versions
>= 1.16.0, < 1.16.6
< 1.15.3.1
Patched versions
1.16.6
1.15.3.1
Description
Published by the National Vulnerability Database
Feb 29, 2024
Published to the GitHub Advisory Database
Feb 29, 2024
Reviewed
Mar 1, 2024
Last updated
Mar 6, 2024
The json-jwt (aka JSON::JWT) gem 1.16.x before 1.16.6, 1.15.x before 1.15.3.1 for Ruby sometimes allows bypass of identity checks via a sign/encryption confusion attack. For example, JWE can sometimes be used to bypass JSON::JWT.decode.
References