All reports
Medium

json-jwt allows bypass of identity checks via a sign/encryption confusion attack

Affected versions

RubyGemsjson-jwt
Affected versions
>= 1.16.0, < 1.16.6
Fixed version
1.16.6
RubyGemsjson-jwt
Affected versions
< 1.15.3.1
Fixed version
1.15.3.1

Exploitation

CVE-2023-51774

Probability of exploitation in the next 30 days: 0.23%

FIRST EPSS · 2026-11-22

Description

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.

Links

Credits

  • postmodern
  • sorah
  • Capncavedan