Skip to content

chore(deps): bump json from 2.15.2.1 to 2.21.2 in /.github - #289

Open
josegonzalez wants to merge 1 commit into
mainfrom
dependabot-9-ruby-json-json-generator-heap-buffer-overflow-when-streaming-to-an-io
Open

chore(deps): bump json from 2.15.2.1 to 2.21.2 in /.github#289
josegonzalez wants to merge 1 commit into
mainfrom
dependabot-9-ruby-json-json-generator-heap-buffer-overflow-when-streaming-to-an-io

Conversation

@josegonzalez

Copy link
Copy Markdown
Member

Resolves Dependabot alert 9 (GHSA-x2f5-4prf-w687 / CVE-2026-54696), a low-severity heap buffer overflow in the json gem. The flaw is a heap out-of-bounds write in the IO-streaming generator path (JSON.dump(obj, io) and JSON::State#generate(obj, io)) when a streamed string sits near the 16 KB internal buffer boundary, with a demonstrated impact of a denial-of-service crash. The vulnerable range is >= 2.9.0, < 2.19.9 and the first patched release is 2.19.9.

In this repository json is a transitive dependency of package_cloud, which together with fpm is used only by the CI release tooling that builds and publishes the Debian package, so it is not part of the runtime of the shipped sshcommand script. This bumps the locked version to the latest 2.x release, 2.21.2, which resolves the advisory while continuing to satisfy the existing json (~> 2.9) constraint.

Resolves Dependabot alert 9 (GHSA-x2f5-4prf-w687 / CVE-2026-54696), a low-severity heap buffer overflow in the json gem's IO-streaming generator path. The gem is a transitive dependency of `package_cloud` used only by the CI release tooling, and 2.21.2 satisfies the existing `json (~> 2.9)` constraint.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant