Vulnerability · Published Dec 25, 2023 · Assigned by mitre

CVE-2023-51774

High 8.4

In plain English

A high-severity improper access control in the json-jwt package (RubyGems). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.4High
Exploit odds (30 days)0.2%top 86.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
RubyGemsjson-jwt1.16.6GHSA-c8v6-786g-vjx6
RubyGemsjson-jwt1.15.3.1GHSA-c8v6-786g-vjx6
Ubuntu:22.04:LTSruby-json-jwtno fix listedUBUNTU-CVE-2023-51774
Ubuntu:24.04:LTSruby-json-jwtno fix listedUBUNTU-CVE-2023-51774
Ubuntu:25.10ruby-json-jwtno fix listedUBUNTU-CVE-2023-51774
Ubuntu:26.04:LTSruby-json-jwtno fix listedUBUNTU-CVE-2023-51774
Ubuntu:26.10ruby-json-jwtno fix listedUBUNTU-CVE-2023-51774

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-284 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References