CVE-2023-51774Json-jwt Project Json-jwt
High 8.4
Follow: this CVE · Json-jwt Project · Json-jwt Project Json-jwt We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 8.4
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 8
- Auth required
- Yes
- Published
- Feb 29, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-284
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Json-jwt.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | json-jwt |
≥ 1.16.0 < 1.16.6 |
1.16.6 |
gem "json-jwt", ">= 1.16.6" |
| RubyGems | json-jwt |
< 1.15.3.1 |
1.15.3.1 |
gem "json-jwt", ">= 1.15.3.1" |
Per OSV / GitHub Advisories (GHSA-c8v6-786g-vjx6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| json-jwt_project | json-jwt | 1.16.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory