{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-51774","id":"CVE-2023-51774","title":"json-jwt allows bypass of identity checks via a sign/encryption confusion attack","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.","descriptionLong":"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.","published":"2023-12-25T00:00:00.000Z","updated":"2026-10-28T02:30:24.950623535Z","reserved":"2023-12-25T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"json-jwt","purl":"pkg:gem/json-jwt","ranges":[">=1.16.0 <1.16.6","<1.15.3.1"],"fixed":["1.16.6","1.15.3.1"],"advisory":"GHSA-c8v6-786g-vjx6"}],"cwes":["CWE-284"],"aliases":["GHSA-c8v6-786g-vjx6"],"references":[{"url":"https://github.com/P3ngu1nW/CVE_Request/blob/main/novjson-jwt.md","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/51xxx/CVE-2023-51774.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-51774","tags":["advisory"]},{"url":"https://github.com/nov/json-jwt/issues/120","tags":["web"]},{"url":"https://github.com/nov/json-jwt/issues/121","tags":["web"]},{"url":"https://github.com/nov/json-jwt/commit/593ea8bcaf2629048bad8c036191f2da0a2e713c","tags":["web"]},{"url":"https://github.com/nov/json-jwt/commit/9c4d842a9465bd7960570ca326c3de79b4abc9d0","tags":["web"]},{"url":"https://github.com/nov/json-jwt","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/json-jwt/CVE-2023-51774.yml","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00231,"epssPercentile":0.141,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-51774","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-51774","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-51774","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c8v6-786g-vjx6","ok":true,"note":"GHSA-c8v6-786g-vjx6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-51774","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}