chore(deps): bump json from 2.15.2.1 to 2.21.2 in /.github - #289
Open
josegonzalez wants to merge 1 commit into
Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves Dependabot alert 9 (GHSA-x2f5-4prf-w687 / CVE-2026-54696), a low-severity heap buffer overflow in the
jsongem. The flaw is a heap out-of-bounds write in the IO-streaming generator path (JSON.dump(obj, io)andJSON::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.9and the first patched release is2.19.9.In this repository
jsonis a transitive dependency ofpackage_cloud, which together withfpmis used only by the CI release tooling that builds and publishes the Debian package, so it is not part of the runtime of the shippedsshcommandscript. This bumps the locked version to the latest 2.x release,2.21.2, which resolves the advisory while continuing to satisfy the existingjson (~> 2.9)constraint.