Repository navigation
dep(dev): bump json to 2.19.9 for GHSA-x2f5-4prf-w687 - #232
Merged
Merged
Conversation
The lockfile pinned json 2.19.8, which is affected by GHSA-x2f5-4prf-w687. Update json, and record the current gem version (1.7.1) in the lockfile. ref: https://github.com/rails/rails-html-sanitizer/security/dependabot/68
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.
Motivation
Gemfile.lockpinsjson2.19.8, which is affected by GHSA-x2f5-4prf-w687 (Dependabot alert #68).jsonis a development dependency only, viaactivesupportandrubocop, so the released gem is unaffected.Dependabot never opened a PR for the alert: every security update run since 2026-07-27 (latest) crashes with
TypeError: Passed nil into T.mustinForceUpdater#dependencies_from. The likely trigger is that the lockfile still recordsrails-html-sanitizer (1.7.0)after the version bump in 4f37e3d, so any re-resolve also changes the path gem, which Dependabot does not track as a dependency.Details
Run
bundle lock --update json --conservative --patch, which movesjsonto 2.19.9 and updates the lockfile'srails-html-sanitizerentry to 1.7.1.