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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | json-jwt | 1.16.6 | GHSA-c8v6-786g-vjx6 |
| RubyGems | json-jwt | 1.15.3.1 | GHSA-c8v6-786g-vjx6 |
| Ubuntu:22.04:LTS | ruby-json-jwt | no fix listed | UBUNTU-CVE-2023-51774 |
| Ubuntu:24.04:LTS | ruby-json-jwt | no fix listed | UBUNTU-CVE-2023-51774 |
| Ubuntu:25.10 | ruby-json-jwt | no fix listed | UBUNTU-CVE-2023-51774 |
| Ubuntu:26.04:LTS | ruby-json-jwt | no fix listed | UBUNTU-CVE-2023-51774 |
| Ubuntu:26.10 | ruby-json-jwt | no fix listed | UBUNTU-CVE-2023-51774 |
Affected products (as reported)
Weakness: CWE-284 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H