Bump json to 2.20.0 (CVE-2026-54696)

Fixes a heap buffer overflow in the JSON generator when streaming an
oversized object to an IO (JSON.dump(obj, io) / JSON::State#generate).
Affects json 2.9.0-2.19.8; patched in 2.19.9. Bumps to the current
2.20.0 line via `bundle update json --conservative` (lockfile-only).

GHSA-x2f5-4prf-w687 / https://nvd.nist.gov/vuln/detail/CVE-2026-54696

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Rosa Gutierrez
2026-07-06 10:02:49 +02:00
committed by Rosa Gutierrez
parent 962c48af13
commit 9ebc47a8f0
+1 -1
View File
@@ -191,7 +191,7 @@ GEM
jbuilder (2.14.1)
actionview (>= 7.0.0)
activesupport (>= 7.0.0)
json (2.13.2)
json (2.20.0)
jwt (3.2.0)
base64
kredis (1.8.0)