CVE-2019-18848
JSON-jwt Gem lacked element count during splitting of JWE string
The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.
- Record
CVE-2019-18848- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Weakness
- CWE-287
- Updated
- 2026-11-02
CVE List No score
The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.
- Record
CVE-2019-18848- Updated
- 2026-11-02
EUVDEUVD-2019-0742 No score
The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.
- Record
EUVD-2019-0742- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-cff7-6h4q-q5pj
7.5
JSON-jwt Gem lacked element count during splitting of JWE string
The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.
- Record
GHSA-cff7-6h4q-q5pj- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-287
- Updated
- 2026-11-02
OSV
7.5
The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.
- Record
CVE-2019-18848- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-18848
7.5
The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.
- Record
DEBIAN-CVE-2019-18848- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVGHSA-cff7-6h4q-q5pj
7.5
JSON-jwt Gem lacked element count during splitting of JWE string
The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.
- Record
GHSA-cff7-6h4q-q5pj- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-287
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-18848
7.5
The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.
- Record
UBUNTU-CVE-2019-18848- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVopenSUSE-SU-2025:0004-1 No score
Security update for rubygem-json-jwt
This update for rubygem-json-jwt fixes the following issues:
-
New upstream release 1.16.6, see bundled CHANGELOG.md
-
Remove padding oracle by @btoews in https://github.com/nov/json-jwt/pull/109
-
Fixes CVE-2023-51774 boo#1220727
-
updated to version 1.11.0
- no changelog found
- Fixes CVE-2019-18848 boo#1156649
- Record
openSUSE-SU-2025:0004-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
json-jwtRubyGems |
before 1.11.0 | 1.11.0 |
ruby-json-jwtDebian:12 |
before 1.11.0-1 | 1.11.0-1 |
ruby-json-jwtDebian:13 |
before 1.11.0-1 | 1.11.0-1 |
ruby-json-jwtDebian:14 |
before 1.11.0-1 | 1.11.0-1 |
ruby-json-jwtDebian:9 |
before 1.6.2-1+deb9u2, plus listed versions 1.6.2-11.6.2-1+deb9u1 |
1.6.2-1+deb9u2 |
json-jwtRubyGems |
before 1.11.0, plus listed versions 0.0.00.0.10.0.20.0.30.0.4 Show 45 moreShow less0.0.50.0.60.0.70.1.00.1.10.1.20.1.30.1.40.1.50.1.60.1.70.1.80.2.00.3.00.3.10.3.20.3.30.4.00.4.10.4.20.4.30.5.00.5.10.5.20.5.30.5.40.5.50.5.60.6.00.6.10.7.00.7.0.alpha0.7.0.alpha20.7.10.8.00.8.11.0.01.0.11.0.21.0.31.1.01.10.01.10.11.10.21.2.0 |
1.11.0 |
ruby-json-jwtUbuntu:18.04:LTS |
All versions, plus listed versions 1.7.2-1 |
None known |
rubygem-aes_key_wrapSUSE:Package Hub 15 SP5 From an advisory covering 2 CVEs |
before 1.1.0-bp155.2.1 | 1.1.0-bp155.2.1 |
rubygem-json-jwtSUSE:Package Hub 15 SP5 From an advisory covering 2 CVEs |
before 1.16.6-bp155.3.3.1 | 1.16.6-bp155.3.3.1 |
rubygem-aes_key_wrapopenSUSE:Leap 15.5 From an advisory covering 2 CVEs |
before 1.1.0-bp155.2.1 | 1.1.0-bp155.2.1 |
rubygem-json-jwtopenSUSE:Leap 15.5 From an advisory covering 2 CVEs |
before 1.16.6-bp155.3.3.1 | 1.16.6-bp155.3.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-18848 is a high vulnerability (CVSS 7.5) in Json-jwt Project Json-jwt, published November 12, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.26%, the 69th percentile. Fixed in json-jwt 1.11.0.
References
github.com/nov/json-jwt/commit/ada16e772906efdd035e3df49cb2ae372f0f948a
github.com/nov/json-jwt/compare/v1.10.2...v1.11.0
lists.debian.org/debian-lts-announce/2020/10/msg00001.html
nvd.nist.gov/vuln/detail/CVE-2019-18848
github.com/rubysec/ruby-advisory-db/blob/master/gems/json-jwt/CVE-2019-18848.yml
github.com/advisories/GHSA-cff7-6h4q-q5pj
Show 9 moreShow less
security-tracker.debian.org/tracker/CVE-2019-18848
github.com/nov/json-jwt
ubuntu.com/security/CVE-2019-18848
cve.org/CVERecord?id=CVE-2019-18848
lists.opensuse.org/archives/list/[email protected]/thread/FICWL2K7EGMUBVQ6CHEQYANYFEU4XBG4
bugzilla.suse.com/1156649
bugzilla.suse.com/1220727
suse.com/security/cve/CVE-2019-18848
suse.com/security/cve/CVE-2023-51774
Left out here: 29 versions. The JSON record has them.