ADVISORIES

Vulnerability

CVE-2023-51774

The json-jwt (aka JSON::JWT) gem 1.16.3 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.

13 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • CGA-3999-79m9-6jc2
    CVE-2023-51774 ChainguardWolfi Updated 5 November 2026
  • CGA-4rw5-3pp4-7p4g
    CVE-2023-51774 ChainguardWolfi Updated 5 November 2026
  • CGA-85pw-xr3j-442p
    CVE-2023-51774 ChainguardWolfi Updated 5 November 2026
  • CGA-9c54-6phm-9x7v
    CVE-2023-51774 ChainguardWolfi Updated 5 November 2026
  • CGA-f8q4-c8gw-7qrc
    CVE-2023-51774 ChainguardWolfi Updated 5 November 2026
  • CGA-gw2m-x6fq-5pxr
    CVE-2023-51774 ChainguardWolfi Updated 5 November 2026
  • CGA-hv3j-mrf3-f97f
    CVE-2023-51774 ChainguardWolfi Updated 5 November 2026
  • CGA-j68j-9c59-xhmv
    CVE-2023-51774 ChainguardWolfi Updated 5 November 2026
  • CGA-pj98-9whm-46pm
    CVE-2023-51774 ChainguardWolfi Updated 5 November 2026
  • CGA-x7cm-3m9g-x64w
    CVE-2023-51774 ChainguardWolfi Updated 5 November 2026
  • GHSA-c8v6-786g-vjx6

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

    Moderate CVE-2023-51774 RubyGems Updated 10 September 2026
  • UBUNTU-CVE-2023-51774

    The json-jwt (aka JSON::JWT) gem 1.16.3 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.

    CVE-2023-51774 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2025:0004-1

    Security update for rubygem-json-jwt

    CVE-2019-18848CVE-2023-51774 SUSEopenSUSE Updated 4 February 2026

References