{"id":"CVE-2019-18848","aliases":["DEBIAN-CVE-2019-18848","DLA-2390-1","EUVD-2019-0742","GHSA-cff7-6h4q-q5pj","UBUNTU-CVE-2019-18848","openSUSE-SU-2025:0004-1"],"status":"published","title":"JSON-jwt Gem lacked element count during splitting of JWE string","description":"The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01257,"percentile":0.69749,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-287"],"published":"2019-11-12T14:23:54Z","modified":"2026-10-20T10:52:30Z","fixes":[{"ecosystem":"RubyGems","package":"json-jwt","fixed_in":["1.11.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"ruby-json-jwt","fixed_in":["1.11.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ruby-json-jwt","fixed_in":["1.11.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ruby-json-jwt","fixed_in":["1.11.0-1"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"ruby-json-jwt","fixed_in":["1.6.2-1+deb9u2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"json-jwt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ruby-json-jwt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ruby-json-jwt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ruby-json-jwt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.0-1"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"ruby-json-jwt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.2-1+deb9u2"}]}],"versions":["1.6.2-1","1.6.2-1+deb9u1"]},{"source":"osv","ecosystem":"RubyGems","package":"json-jwt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.0"}]}],"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.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"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ruby-json-jwt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.2-1"]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP5","package":"rubygem-aes_key_wrap","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0-bp155.2.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP5","package":"rubygem-json-jwt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.6-bp155.3.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"rubygem-aes_key_wrap","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0-bp155.2.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"rubygem-json-jwt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.6-bp155.3.3.1"}]}],"bundled":2}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"json-jwt_project","product":"json-jwt"}],"references":[{"url":"https://github.com/nov/json-jwt/commit/ada16e772906efdd035e3df49cb2ae372f0f948a","tags":["x_refsource_MISC","x_transferred","Patch","fix","web","report"]},{"url":"https://github.com/nov/json-jwt/compare/v1.10.2...v1.11.0","tags":["x_refsource_MISC","x_transferred","Patch","fix","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/10/msg00001.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18848","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/json-jwt/CVE-2019-18848.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-cff7-6h4q-q5pj"},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-18848","tags":["advisory"]},{"url":"https://github.com/nov/json-jwt","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2019-18848","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-18848","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/FICWL2K7EGMUBVQ6CHEQYANYFEU4XBG4/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1156649","tags":["report"]},{"url":"https://bugzilla.suse.com/1220727","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2019-18848","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-51774","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2019-18848","description":"The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.","status":"published","published":"2019-11-12T14:23:54Z","modified":"2024-08-05T02:02:39.724Z","updated_at":"2026-11-02T14:32:23.803059Z"}],"euvd":[{"id":"EUVD-2019-0742","description":"The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.","status":"published","published":"2019-11-12T14:23:54Z","modified":"2024-08-05T02:02:39Z","updated_at":"2026-11-03T02:40:27.733219Z"}],"ghsa":[{"id":"GHSA-cff7-6h4q-q5pj","title":"JSON-jwt Gem lacked element count during splitting of JWE string","description":"The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.","status":"published","published":"2019-11-14T15:25:51Z","modified":"2023-08-25T23:33:30Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:37:00.680009Z"}],"nvd":[{"id":"CVE-2019-18848","description":"The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.","status":"published","published":"2019-11-12T15:15:10.88Z","modified":"2026-06-17T02:25:27.84Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:05:35.052973Z"}],"osv":[{"id":"CVE-2019-18848","description":"The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.","status":"published","published":"2019-11-12T15:15:10.88Z","modified":"2026-10-20T10:52:30.133978906Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:11.673963Z"},{"id":"DEBIAN-CVE-2019-18848","description":"The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.","status":"published","published":"2019-11-12T15:15:10.88Z","modified":"2026-09-21T07:01:54.783241603Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:31.867036Z"},{"id":"GHSA-cff7-6h4q-q5pj","title":"JSON-jwt Gem lacked element count during splitting of JWE string","description":"The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.","status":"published","published":"2019-11-14T15:25:51Z","modified":"2024-02-16T08:11:06.297947Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T15:46:44.927642Z"},{"id":"UBUNTU-CVE-2019-18848","description":"The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.","status":"published","published":"2019-11-12T15:15:00Z","modified":"2025-10-24T04:47:58Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:20.325378Z"},{"id":"DLA-2390-1","title":"ruby-json-jwt - security update","status":"published","published":"2020-10-01T00:00:00Z","modified":"2026-03-09T01:21:52.576151Z","updated_at":"2026-11-02T15:46:10.712745Z"},{"id":"openSUSE-SU-2025:0004-1","title":"Security update for rubygem-json-jwt","description":"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 \n\n","status":"published","published":"2025-01-07T17:01:48Z","modified":"2026-02-04T04:39:42.384646Z","updated_at":"2026-11-02T16:58:36.976155Z"}]}}
