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.
{
"severity": "MODERATE",
"github_reviewed": true,
"cwe_ids": [],
"nvd_published_at": "2024-02-29T01:42:05Z",
"github_reviewed_at": "2024-03-01T16:56:21Z"
}