{"id":"CVE-2023-51774","aliases":["GHSA-c8v6-786g-vjx6","UBUNTU-CVE-2023-51774"],"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.","published_at":"2023-12-25T00:00:00Z","modified_at":"2026-10-17T12:57:22.801591Z","products":[],"rating":{"severity":"high","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attack_path":"local","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"SUSE","rating":"important"},{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.002309999894350767,"percentile":0.14100000262260437,"date":"2026-11-19T00:00:00Z"},"priority":7.9,"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"json-jwt_project/json-jwt","versions":["1.16.3"],"provider":"cvelistv5","source":"CVE-2023-51774","relation":"self"},{"ecosystem":"NVD","package":"json-jwt_project:json-jwt","versions":["1.16.3"],"provider":"nvd","source":"CVE-2023-51774","relation":"self"},{"ecosystem":"RubyGems","package":"json-jwt","purl":"pkg:gem/json-jwt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.0"},{"fixed":"1.16.6"}]}],"versions":["1.16.0","1.16.1","1.16.2","1.16.3","1.16.4","1.16.5"],"fixed":["1.16.6"],"provider":"osv","source":"GHSA-c8v6-786g-vjx6","relation":"self"},{"ecosystem":"RubyGems","package":"json-jwt","purl":"pkg:gem/json-jwt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.15.3.1"}]}],"versions":["0.0.0","0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.2.0","0.3.0","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.4.2","0.4.3","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.6.0","0.6.1","0.7.0","0.7.0.alpha","0.7.0.alpha2","0.7.1","0.8.0","0.8.1","1.0.0","1.0.1","1.0.2","1.0.3","1.1.0","1.10.0","1.10.1","1.10.2","1.11.0","1.12.0","1.13.0","1.14.0","1.15.0","1.15.1","1.15.2","1.15.3","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.3.0","1.3.1","1.4.0","1.5.0","1.5.1","1.5.2","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.7.0","1.7.1","1.7.2","1.8.0","1.8.1","1.8.1.pre","1.8.2","1.8.3","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4"],"fixed":["1.15.3.1"],"provider":"osv","source":"GHSA-c8v6-786g-vjx6","relation":"self"},{"ecosystem":"SUSE:Package Hub 15 SP5","package":"rubygem-aes_key_wrap","purl":"pkg:rpm/suse/rubygem-aes_key_wrap&distro=SUSE%20Package%20Hub%2015%20SP5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0-bp155.2.1"}]}],"fixed":["1.1.0-bp155.2.1"],"provider":"osv","source":"openSUSE-SU-2025:0004-1","relation":"upstream"},{"ecosystem":"SUSE:Package Hub 15 SP5","package":"rubygem-json-jwt","purl":"pkg:rpm/suse/rubygem-json-jwt&distro=SUSE%20Package%20Hub%2015%20SP5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.6-bp155.3.3.1"}]}],"fixed":["1.16.6-bp155.3.3.1"],"provider":"osv","source":"openSUSE-SU-2025:0004-1","relation":"upstream"},{"ecosystem":"Ubuntu:18.04:LTS","package":"ruby-json-jwt","purl":"pkg:deb/ubuntu/ruby-json-jwt?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.2-1"],"provider":"osv","source":"UBUNTU-CVE-2023-51774","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"ruby-json-jwt","purl":"pkg:deb/ubuntu/ruby-json-jwt?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.4-1","1.11.0-1"],"provider":"osv","source":"UBUNTU-CVE-2023-51774","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"ruby-json-jwt","purl":"pkg:deb/ubuntu/ruby-json-jwt?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.0-1","1.13.0-1","1.13.0-1ubuntu0.1"],"provider":"osv","source":"UBUNTU-CVE-2023-51774","relation":"self"},{"ecosystem":"Ubuntu:24.04:LTS","package":"ruby-json-jwt","purl":"pkg:deb/ubuntu/ruby-json-jwt?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.0-2"],"provider":"osv","source":"UBUNTU-CVE-2023-51774","relation":"self"},{"ecosystem":"Ubuntu:25.10","package":"ruby-json-jwt","purl":"pkg:deb/ubuntu/ruby-json-jwt?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16.7-1"],"provider":"osv","source":"UBUNTU-CVE-2023-51774","relation":"self"},{"ecosystem":"Ubuntu:26.04:LTS","package":"ruby-json-jwt","purl":"pkg:deb/ubuntu/ruby-json-jwt?arch=source&distro=resolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16.7-1","1.17.0-1"],"provider":"osv","source":"UBUNTU-CVE-2023-51774","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"ruby-json-jwt","purl":"pkg:deb/ubuntu/ruby-json-jwt?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.0-1","1.17.1-1","1.17.2-1"],"provider":"osv","source":"UBUNTU-CVE-2023-51774","relation":"self"},{"ecosystem":"openSUSE:Leap 15.5","package":"rubygem-aes_key_wrap","purl":"pkg:rpm/opensuse/rubygem-aes_key_wrap&distro=openSUSE%20Leap%2015.5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0-bp155.2.1"}]}],"fixed":["1.1.0-bp155.2.1"],"provider":"osv","source":"openSUSE-SU-2025:0004-1","relation":"upstream"},{"ecosystem":"openSUSE:Leap 15.5","package":"rubygem-json-jwt","purl":"pkg:rpm/opensuse/rubygem-json-jwt&distro=openSUSE%20Leap%2015.5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.6-bp155.3.3.1"}]}],"fixed":["1.16.6-bp155.3.3.1"],"provider":"osv","source":"openSUSE-SU-2025:0004-1","relation":"upstream"}],"product_status":[{"vendor":"SUSE","product":"SUSE Package Hub 15 SP5","status":"fixed","packages":["ruby2.5-rubygem-aes_key_wrap","ruby2.5-rubygem-aes_key_wrap-doc","ruby2.5-rubygem-json-jwt","ruby2.5-rubygem-json-jwt-doc"],"package_count":4,"fixed":["ruby2.5-rubygem-aes_key_wrap-1.1.0-bp155.2.1","ruby2.5-rubygem-aes_key_wrap-doc-1.1.0-bp155.2.1","ruby2.5-rubygem-json-jwt-1.16.6-bp155.3.3.1","ruby2.5-rubygem-json-jwt-doc-1.16.6-bp155.3.3.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-51774"},{"vendor":"SUSE","product":"openSUSE Leap 15.5","cpe":"cpe:/o:opensuse:leap:15.5","status":"fixed","packages":["ruby2.5-rubygem-aes_key_wrap","ruby2.5-rubygem-aes_key_wrap-doc","ruby2.5-rubygem-json-jwt","ruby2.5-rubygem-json-jwt-doc"],"package_count":4,"fixed":["ruby2.5-rubygem-aes_key_wrap-1.1.0-bp155.2.1","ruby2.5-rubygem-aes_key_wrap-doc-1.1.0-bp155.2.1","ruby2.5-rubygem-json-jwt-1.16.6-bp155.3.3.1","ruby2.5-rubygem-json-jwt-doc-1.16.6-bp155.3.3.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-51774"},{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/fluentd-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-51774"}],"records":[{"provider":"csaf-suse","source_id":"openSUSE-SU-2025:0004-1","relation":"upstream","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/FICWL2K7EGMUBVQ6CHEQYANYFEU4XBG4/","license":"TLP:CLEAR, mirroring permitted","published_at":"2025-01-07T17:01:48Z","modified_at":"2025-01-07T17:01:48Z","summary":"Security update for rubygem-json-jwt","details":"Security update for rubygem-json-jwt\n\nThis update for rubygem-json-jwt fixes the following issues:\n\n- New upstream release 1.16.6, see bundled CHANGELOG.md\n\n- Remove padding oracle by @btoews in https://github.com/nov/json-jwt/pull/109\n- Fixes CVE-2023-51774 boo#1220727\n\n- updated to version 1.11.0\n  - no changelog found\n  - Fixes CVE-2019-18848 boo#1156649","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"openSUSE-SU-2025:0004-1"},{"type":"SUSE","score":"moderate","source":"openSUSE-SU-2025:0004-1"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://ftp.suse.com/pub/projects/security/csaf/2025/opensuse-su-2025_0004-1.json"},{"type":"WEB","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/FICWL2K7EGMUBVQ6CHEQYANYFEU4XBG4/"},{"type":"WEB","url":"https://bugzilla.suse.com/1156649"},{"type":"WEB","url":"https://bugzilla.suse.com/1220727"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2019-18848/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2023-51774/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2019-18848"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2023-51774"}]},{"provider":"osv","source_id":"openSUSE-SU-2025:0004-1","relation":"upstream","url":"https://osv.dev/vulnerability/openSUSE-SU-2025:0004-1","published_at":"2025-01-07T17:01:48Z","modified_at":"2026-02-04T04:39:42.384646Z","summary":"Security update for rubygem-json-jwt","details":"This update for rubygem-json-jwt fixes the following issues:\n\n- New upstream release 1.16.6, see bundled CHANGELOG.md\n\n- Remove padding oracle by @btoews in https://github.com/nov/json-jwt/pull/109\n- Fixes CVE-2023-51774 boo#1220727\n\n- updated to version 1.11.0\n  - no changelog found\n  - Fixes CVE-2019-18848 boo#1156649","severity":[],"affected":[{"ecosystem":"SUSE:Package Hub 15 SP5","package":"rubygem-aes_key_wrap","purl":"pkg:rpm/suse/rubygem-aes_key_wrap&distro=SUSE%20Package%20Hub%2015%20SP5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0-bp155.2.1"}]}],"fixed":["1.1.0-bp155.2.1"],"provider":"osv","source":"openSUSE-SU-2025:0004-1","relation":"upstream"},{"ecosystem":"SUSE:Package Hub 15 SP5","package":"rubygem-json-jwt","purl":"pkg:rpm/suse/rubygem-json-jwt&distro=SUSE%20Package%20Hub%2015%20SP5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.6-bp155.3.3.1"}]}],"fixed":["1.16.6-bp155.3.3.1"],"provider":"osv","source":"openSUSE-SU-2025:0004-1","relation":"upstream"},{"ecosystem":"openSUSE:Leap 15.5","package":"rubygem-aes_key_wrap","purl":"pkg:rpm/opensuse/rubygem-aes_key_wrap&distro=openSUSE%20Leap%2015.5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0-bp155.2.1"}]}],"fixed":["1.1.0-bp155.2.1"],"provider":"osv","source":"openSUSE-SU-2025:0004-1","relation":"upstream"},{"ecosystem":"openSUSE:Leap 15.5","package":"rubygem-json-jwt","purl":"pkg:rpm/opensuse/rubygem-json-jwt&distro=openSUSE%20Leap%2015.5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.6-bp155.3.3.1"}]}],"fixed":["1.16.6-bp155.3.3.1"],"provider":"osv","source":"openSUSE-SU-2025:0004-1","relation":"upstream"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/FICWL2K7EGMUBVQ6CHEQYANYFEU4XBG4/"},{"type":"REPORT","url":"https://bugzilla.suse.com/1156649"},{"type":"REPORT","url":"https://bugzilla.suse.com/1220727"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2019-18848"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2023-51774"}]},{"provider":"cvelistv5","source_id":"CVE-2023-51774","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2023-51774","license":"CC-BY-4.0","published_at":"2023-12-25T00:00:00Z","modified_at":"2024-08-26T20:08:16.108Z","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.","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP:CVE-2023-51774"}],"affected":[{"ecosystem":"CVE","package":"json-jwt_project/json-jwt","versions":["1.16.3"],"provider":"cvelistv5","source":"CVE-2023-51774","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/P3ngu1nW/CVE_Request/blob/main/novjson-jwt.md"}]},{"provider":"csaf-suse","source_id":"CVE-2023-51774","relation":"self","url":"https://www.suse.com/security/cve/CVE-2023-51774/","license":"TLP:CLEAR, mirroring permitted","published_at":"2024-03-02T05:21:10Z","modified_at":"2025-03-15T06:02:58Z","summary":"SUSE CVE CVE-2023-51774","details":"SUSE CVE-2023-51774\n\nThe 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.","severity":[{"type":"SUSE","score":"important","source":"CVE-2023-51774"}],"affected":[],"product_status":[{"vendor":"SUSE","product":"SUSE Package Hub 15 SP5","status":"fixed","packages":["ruby2.5-rubygem-aes_key_wrap","ruby2.5-rubygem-aes_key_wrap-doc","ruby2.5-rubygem-json-jwt","ruby2.5-rubygem-json-jwt-doc"],"package_count":4,"fixed":["ruby2.5-rubygem-aes_key_wrap-1.1.0-bp155.2.1","ruby2.5-rubygem-aes_key_wrap-doc-1.1.0-bp155.2.1","ruby2.5-rubygem-json-jwt-1.16.6-bp155.3.3.1","ruby2.5-rubygem-json-jwt-doc-1.16.6-bp155.3.3.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-51774"},{"vendor":"SUSE","product":"openSUSE Leap 15.5","cpe":"cpe:/o:opensuse:leap:15.5","status":"fixed","packages":["ruby2.5-rubygem-aes_key_wrap","ruby2.5-rubygem-aes_key_wrap-doc","ruby2.5-rubygem-json-jwt","ruby2.5-rubygem-json-jwt-doc"],"package_count":4,"fixed":["ruby2.5-rubygem-aes_key_wrap-1.1.0-bp155.2.1","ruby2.5-rubygem-aes_key_wrap-doc-1.1.0-bp155.2.1","ruby2.5-rubygem-json-jwt-1.16.6-bp155.3.3.1","ruby2.5-rubygem-json-jwt-doc-1.16.6-bp155.3.3.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-51774"}],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2023-51774"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1220727"},{"type":"WEB","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/FICWL2K7EGMUBVQ6CHEQYANYFEU4XBG4/"}]},{"provider":"nvd","source_id":"CVE-2023-51774","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-51774","severity":[],"affected":[{"ecosystem":"NVD","package":"json-jwt_project:json-jwt","versions":["1.16.3"],"provider":"nvd","source":"CVE-2023-51774","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-c8v6-786g-vjx6","relation":"self","url":"https://osv.dev/vulnerability/GHSA-c8v6-786g-vjx6","license":"CC-BY-4.0","published_at":"2024-02-29T03:33:14Z","modified_at":"2026-09-10T03:50:06.209342Z","summary":"json-jwt allows bypass of identity checks via a sign/encryption confusion attack","details":"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.","severity":[],"affected":[{"ecosystem":"RubyGems","package":"json-jwt","purl":"pkg:gem/json-jwt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.0"},{"fixed":"1.16.6"}]}],"versions":["1.16.0","1.16.1","1.16.2","1.16.3","1.16.4","1.16.5"],"fixed":["1.16.6"],"provider":"osv","source":"GHSA-c8v6-786g-vjx6","relation":"self"},{"ecosystem":"RubyGems","package":"json-jwt","purl":"pkg:gem/json-jwt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.15.3.1"}]}],"versions":["0.0.0","0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.2.0","0.3.0","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.4.2","0.4.3","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.6.0","0.6.1","0.7.0","0.7.0.alpha","0.7.0.alpha2","0.7.1","0.8.0","0.8.1","1.0.0","1.0.1","1.0.2","1.0.3","1.1.0","1.10.0","1.10.1","1.10.2","1.11.0","1.12.0","1.13.0","1.14.0","1.15.0","1.15.1","1.15.2","1.15.3","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.3.0","1.3.1","1.4.0","1.5.0","1.5.1","1.5.2","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.7.0","1.7.1","1.7.2","1.8.0","1.8.1","1.8.1.pre","1.8.2","1.8.3","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4"],"fixed":["1.15.3.1"],"provider":"osv","source":"GHSA-c8v6-786g-vjx6","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-51774"},{"type":"WEB","url":"https://github.com/nov/json-jwt/issues/120"},{"type":"WEB","url":"https://github.com/nov/json-jwt/issues/121"},{"type":"WEB","url":"https://github.com/nov/json-jwt/commit/593ea8bcaf2629048bad8c036191f2da0a2e713c"},{"type":"WEB","url":"https://github.com/nov/json-jwt/commit/9c4d842a9465bd7960570ca326c3de79b4abc9d0"},{"type":"WEB","url":"https://github.com/P3ngu1nW/CVE_Request/blob/main/novjson-jwt.md"},{"type":"PACKAGE","url":"https://github.com/nov/json-jwt"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/json-jwt/CVE-2023-51774.yml"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2023-51774","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2023-51774","license":"CC-BY-SA-4.0","published_at":"2024-02-29T01:42:00Z","modified_at":"2026-10-17T12:57:22.801591Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2023-51774"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2023-51774"}],"affected":[{"ecosystem":"Ubuntu:18.04:LTS","package":"ruby-json-jwt","purl":"pkg:deb/ubuntu/ruby-json-jwt?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.2-1"],"provider":"osv","source":"UBUNTU-CVE-2023-51774","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"ruby-json-jwt","purl":"pkg:deb/ubuntu/ruby-json-jwt?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.4-1","1.11.0-1"],"provider":"osv","source":"UBUNTU-CVE-2023-51774","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"ruby-json-jwt","purl":"pkg:deb/ubuntu/ruby-json-jwt?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.0-1","1.13.0-1","1.13.0-1ubuntu0.1"],"provider":"osv","source":"UBUNTU-CVE-2023-51774","relation":"self"},{"ecosystem":"Ubuntu:24.04:LTS","package":"ruby-json-jwt","purl":"pkg:deb/ubuntu/ruby-json-jwt?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.0-2"],"provider":"osv","source":"UBUNTU-CVE-2023-51774","relation":"self"},{"ecosystem":"Ubuntu:25.10","package":"ruby-json-jwt","purl":"pkg:deb/ubuntu/ruby-json-jwt?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16.7-1"],"provider":"osv","source":"UBUNTU-CVE-2023-51774","relation":"self"},{"ecosystem":"Ubuntu:26.04:LTS","package":"ruby-json-jwt","purl":"pkg:deb/ubuntu/ruby-json-jwt?arch=source&distro=resolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16.7-1","1.17.0-1"],"provider":"osv","source":"UBUNTU-CVE-2023-51774","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"ruby-json-jwt","purl":"pkg:deb/ubuntu/ruby-json-jwt?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.0-1","1.17.1-1","1.17.2-1"],"provider":"osv","source":"UBUNTU-CVE-2023-51774","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-51774"},{"type":"REPORT","url":"https://github.com/P3ngu1nW/CVE_Request/blob/main/novjson-jwt.md"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-51774"}]},{"provider":"redhat-vex","source_id":"CVE-2023-51774","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2023-51774","license":"CC-BY-4.0","published_at":"2024-02-29T00:00:00Z","modified_at":"2026-03-03T20:37:07Z","summary":"json-jwt: bypass of identity checks via a sign/encryption confusion attack","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"CVE-2023-51774"},{"type":"Red Hat","score":"Moderate","source":"CVE-2023-51774"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/fluentd-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-51774"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-51774.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-51774"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2266922"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-51774"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-51774"}]}],"references":[{"type":"WEB","url":"https://github.com/P3ngu1nW/CVE_Request/blob/main/novjson-jwt.md"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2023-51774"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1220727"},{"type":"WEB","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/FICWL2K7EGMUBVQ6CHEQYANYFEU4XBG4/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-51774"},{"type":"WEB","url":"https://github.com/nov/json-jwt/issues/120"},{"type":"WEB","url":"https://github.com/nov/json-jwt/issues/121"},{"type":"WEB","url":"https://github.com/nov/json-jwt/commit/593ea8bcaf2629048bad8c036191f2da0a2e713c"},{"type":"WEB","url":"https://github.com/nov/json-jwt/commit/9c4d842a9465bd7960570ca326c3de79b4abc9d0"},{"type":"PACKAGE","url":"https://github.com/nov/json-jwt"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/json-jwt/CVE-2023-51774.yml"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-51774"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-51774"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-51774.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-51774"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2266922"}],"sources":[{"provider":"csaf-suse","source_id":"openSUSE-SU-2025:0004-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/FICWL2K7EGMUBVQ6CHEQYANYFEU4XBG4/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-01-07T17:01:48Z","relation":"upstream"},{"provider":"osv","source_id":"openSUSE-SU-2025:0004-1","url":"https://osv.dev/vulnerability/openSUSE-SU-2025:0004-1","modified_at":"2026-02-04T04:39:42.384646Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2023-51774","url":"https://www.cve.org/CVERecord?id=CVE-2023-51774","license":"CC-BY-4.0","modified_at":"2024-08-26T20:08:16.108Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2023-51774","url":"https://www.suse.com/security/cve/CVE-2023-51774/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-03-15T06:02:58Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2023-51774","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-51774","relation":"self"},{"provider":"osv","source_id":"GHSA-c8v6-786g-vjx6","url":"https://osv.dev/vulnerability/GHSA-c8v6-786g-vjx6","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:06.209342Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2023-51774","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2023-51774","license":"CC-BY-SA-4.0","modified_at":"2026-10-17T12:57:22.801591Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2023-51774","url":"https://access.redhat.com/security/cve/CVE-2023-51774","license":"CC-BY-4.0","modified_at":"2026-03-03T20:37:07Z","relation":"self"}]}
