{"id":"CVE-2023-51774","details":"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.","aliases":["GHSA-c8v6-786g-vjx6"],"modified":"2026-04-11T16:35:32.295556Z","published":"2024-02-29T01:42:05.597Z","related":["CGA-w757-c63c-vh7m","openSUSE-SU-2025:0004-1"],"references":[{"type":"EVIDENCE","url":"https://github.com/P3ngu1nW/CVE_Request/blob/main/novjson-jwt.md"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nov/json-jwt","events":[{"introduced":"0"},{"last_affected":"413848c8c93a99093cbb68f198004848f62ecdbd"}],"database_specific":{"source":"CPE_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"1.16.3"}],"cpe":"cpe:2.3:a:json-jwt_project:json-jwt:1.16.3:*:*:*:*:ruby:*:*"}}],"versions":["v0.0.0","v0.0.1","v0.0.2","v0.0.3","v0.0.4","v0.0.5","v0.0.6","v0.0.7","v0.1.0","v0.1.1","v0.1.2","v0.1.3","v0.1.4","v0.1.5","v0.1.6","v0.1.7","v0.1.8","v0.2.0","v0.3.0","v0.3.1","v0.3.2","v0.3.3","v0.4.0","v0.4.1","v0.4.2","v0.4.3","v0.5.0","v0.5.1","v0.5.2","v0.5.3","v0.5.4","v0.5.5","v0.5.6","v0.6.0","v0.6.1","v0.7.0","v0.7.0.alpha","v0.7.0.alpha2","v0.7.1","v0.8.0","v0.8.1","v1.0.0","v1.0.1","v1.0.2","v1.0.3","v1.1.0","v1.10.0","v1.10.1","v1.10.2","v1.11.0","v1.12.0","v1.13.0","v1.14.0","v1.15.0","v1.15.1","v1.15.2","v1.15.3","v1.16.0","v1.16.1","v1.16.2","v1.16.3","v1.2.0","v1.2.1","v1.2.2","v1.2.3","v1.2.4","v1.3.0","v1.3.1","v1.4.0","v1.5.0","v1.5.1","v1.5.2","v1.6.0","v1.6.1","v1.6.2","v1.6.3","v1.6.4","v1.6.5","v1.7.1","v1.7.2","v1.8.0","v1.8.1.pre","v1.8.3","v1.9.0","v1.9.1","v1.9.2","v1.9.3","v1.9.4"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-51774.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}