RubySec

Providing security resources for the Ruby community

CVE-2023-51774 (json-jwt): json-jwt allows bypass of identity checks via a sign/encryption confusion attack

ADVISORIES

GEM

json-jwt

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.

RELATED