Skip to content

dep(dev): bump json to 2.19.9 for GHSA-x2f5-4prf-w687 - #232

Merged
flavorjones merged 1 commit into
mainfrom
bump-json-568
Sep 29, 2026
Merged

flavorjones merged 1 commit into
mainfrom
bump-json-568

Conversation

@flavorjones

Copy link
Copy Markdown
Member

Motivation

Gemfile.lock pins json 2.19.8, which is affected by GHSA-x2f5-4prf-w687 (Dependabot alert #68). json is a development dependency only, via activesupport and rubocop, 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.must in ForceUpdater#dependencies_from. The likely trigger is that the lockfile still records rails-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 moves json to 2.19.9 and updates the lockfile's rails-html-sanitizer entry to 1.7.1.

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
@flavorjones
flavorjones merged commit 9a2f365 into main Sep 29, 2026
15 checks passed
@flavorjones
flavorjones deleted the bump-json-568 branch September 29, 2026 14:43
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