GitHub Advisory Database
GHSA-cff7-6h4q-q5pj
JSON-jwt Gem lacked element count during splitting of JWE string
Details
The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | json-jwt | All versions before 1.11.0 (fixed in 1.11.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-18848
- https://github.com/nov/json-jwt/commit/ada16e772906efdd035e3df49cb2ae372f0f948a
- https://github.com/nov/json-jwt
- https://github.com/nov/json-jwt/compare/v1.10.2...v1.11.0
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/json-jwt/CVE-2019-18848.yml
- https://lists.debian.org/debian-lts-announce/2020/10/msg00001.html