Every CVE Search/ Get API key

CVE-2019-18848

JSON-jwt Gem lacked element count during splitting of JWE string

7.5 HighFix available

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

1.26%Up 0.4 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0
5.0 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
json-jwt
RubyGems
before 1.11.0
1.11.0
ruby-json-jwt
Debian:12
before 1.11.0-1
1.11.0-1
ruby-json-jwt
Debian:13
before 1.11.0-1
1.11.0-1
ruby-json-jwt
Debian:14
before 1.11.0-1
1.11.0-1
ruby-json-jwt
Debian:9
before 1.6.2-1+deb9u2, plus listed versions
1.6.2-11.6.2-1+deb9u1
1.6.2-1+deb9u2
json-jwt
RubyGems
before 1.11.0, plus listed versions
0.0.00.0.10.0.20.0.30.0.4
Show 45 moreShow less
0.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-jwt
Ubuntu:18.04:LTS
All versions, plus listed versions
1.7.2-1
None known
rubygem-aes_key_wrap
SUSE: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-jwt
SUSE: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_wrap
openSUSE:Leap 15.5
From an advisory covering 2 CVEs
before 1.1.0-bp155.2.1
1.1.0-bp155.2.1
rubygem-json-jwt
openSUSE: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

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 9 moreShow less
This page doesn't list everything

Left out here: 29 versions. The JSON record has them.

MoveEnter Open