{"id":"CVE-2023-51774","aliases":["CVE-2023-51774","GHSA-c8v6-786g-vjx6"],"related":[],"kind":"vulnerability","state":"published","title":"json-jwt allows bypass of identity checks via a sign/encryption confusion attack","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"The json-jwt (aka JSON::JWT) gem 1.16.x before 1.16.6, 1.15.x before 1.15.3.1 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"La gema json-jwt (también conocida como JSON::JWT) 1.16.3 para Ruby a veces permite eludir los controles de identidad mediante un ataque de confusión de signo/cifrado. Por ejemplo, a veces se puede utilizar JWE para omitir JSON::JWT.decode.","source":"nvd"}],"published":"2023-12-25T00:00:00.000Z","modified":"2026-09-10T03:50:06.209Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-284"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"version":"1.16.3","status":"affected"}],"vendor":"json-jwt_project","product":"json-jwt","cpe":"cpe:2.3:a:json-jwt_project:json-jwt:*:*:*:*:*:ruby:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.16.0","status":"affected","fixed":"1.16.6"}],"ecosystem":"RubyGems","package":"json-jwt","purl":"pkg:gem/json-jwt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.15.3.1"}],"ecosystem":"RubyGems","package":"json-jwt","purl":"pkg:gem/json-jwt","source":"ghsa"},{"ranges":[{"status":"affected","version":"1.16.3"}],"vendor":"json-jwt_project","product":"json-jwt","cpe":"cpe:2.3:a:json-jwt_project:json-jwt:1.16.3:*:*:*:*:ruby:*:*","source":"nvd"}],"references":[{"url":"https://github.com/P3ngu1nW/CVE_Request/blob/main/novjson-jwt.md","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-51774","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nov/json-jwt/issues/120","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nov/json-jwt/issues/121","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nov/json-jwt/commit/593ea8bcaf2629048bad8c036191f2da0a2e713c","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nov/json-jwt/commit/9c4d842a9465bd7960570ca326c3de79b4abc9d0","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nov/json-jwt","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/json-jwt/CVE-2023-51774.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-08-26T20:08:13.723Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-51774","url":"https://www.cve.org/CVERecord?id=CVE-2023-51774","licence":"CVE Terms of Use","modified":"2024-08-26T20:08:16.108Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c8v6-786g-vjx6","url":"https://github.com/advisories/GHSA-c8v6-786g-vjx6","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:06.209Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-51774","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-51774","licence":"Public domain","modified":"2026-06-17T06:41:38.193Z"}],"updatedAt":"2026-11-25T22:58:33.113Z","epss":{"score":0.00231,"percentile":0.14912,"date":"2026-12-01T12:00:22.000Z"}}