Skip to content
OpenAdvisories
High · 7.5 CVE-2019-18848 EUVD-2019-0742GHSA-cff7-6h4q-q5pj

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

Published Nov 12, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ruby-json-jwt 1.11.0-1 —
Debian 13 ruby-json-jwt 1.11.0-1 —
Debian 12 ruby-json-jwt 1.11.0-1 —
Debian 9 ruby-json-jwt 1.6.2-1+deb9u2 DLA-2390-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS ruby-json-jwt No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP5 rubygem-aes_key_wrap 1.1.0-bp155.2.1 openSUSE-SU-2025:0004-1
SUSE Package Hub 15 SP5 rubygem-json-jwt 1.16.6-bp155.3.3.1 openSUSE-SU-2025:0004-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.5 rubygem-aes_key_wrap 1.1.0-bp155.2.1 openSUSE-SU-2025:0004-1
openSUSE Leap 15.5 rubygem-json-jwt 1.16.6-bp155.3.3.1 openSUSE-SU-2025:0004-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems json-jwt < 1.11.0 1.11.0 GHSA-cff7-6h4q-q5pj

Advisories 2

References