This repository was archived by the owner on Jun 26, 2026. It is now read-only.
RP-6332: Fix Dependabot alerts (json, addressable, ffi)#1
Open
ryanbond wants to merge 1 commit into
Open
Conversation
Resolve four open high-severity Dependabot alerts by upgrading the affected gems via Gemfile/Gemfile.lock only. No gem public API changes. - json 2.1.0 -> 2.7.6 (GHSA-jphg-qwrw-7w9g): direct runtime dep declared in clever-ruby.gemspec as ">= 1.8, < 3"; bumped within range, no gemspec change required. - addressable 2.4.0 -> 2.9.0 (GHSA-h27x-rffw-24p4, GHSA-jxhc-q857-3j6g): pulled transitively by webmock (dev/test); added a ">= 2.9.0" pin in the development/test group so bundler resolves the patched version. - ffi 1.9.18 -> 1.16.3 (GHSA-2gw2-8q9w-cw8p): pulled transitively by sys-uname/ethon (dev/test); pinned ">= 1.9.24, < 1.17" in the development/test group (cap keeps Ruby 2.6 toolchain compatibility, since ffi >= 1.17 requires Ruby >= 3.0). Spec suite (rspec) passes: 2 examples, 0 failures. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
waldomilanes
approved these changes
Jun 11, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
Resolves four open high-severity Dependabot alerts on
Gemfile.lockby upgrading the affected gems. Changes are confined toGemfileandGemfile.lock; the gem's public API is unchanged (no edits underlib/and no.gemspecchange).Fixed
clever-ruby.gemspec(json ">= 1.8", "< 3"). Bumped within the existing range via lockfile; no gemspec/API change.webmock(dev/test). Addedgem 'addressable', '>= 2.9.0'to the development/test group so bundler resolves the patched version.<= 2.7.0) ReDoS advisory.sys-uname/ethon(dev/test). Addedgem 'ffi', '>= 1.9.24', '< 1.17'to the development/test group. The< 1.17cap is required because ffi >= 1.17 requires Ruby >= 3.0 while this project targets Ruby 2.6; 1.16.3 is the highest patched version compatible with the toolchain.addressable2.9.0 introducedpublic_suffix (5.1.1)as a new transitive dependency (reflected in the lockfile).Not fixed / dead-end
None. All four open alerts are resolved.
Backward incompatibility
None.
jsonstays within the gemspec's declared< 3runtime range, so no consumer-visible change and no major bump.addressableandffiare development/test-only transitive dependencies and are not part of the gem's published runtime surface.Testing
vendor/bundle(gitignored).rspec, equivalent torake spec): 2 examples, 0 failures.Note: a full
bundle installcannot complete in the CI/sandbox environment because the unrelated dev gemautotest-fsevent (0.2.14)fails its native build on macOS Darwin 25 (Darwin 25 is not (yet) supported). This is a pre-existing environment limitation independent of these security changes (the unmodified baseline also fails to install, on the oldffi 1.9.18native build). The four security-relevant gems plus all gems required to run the spec suite were installed at their locked versions and the suite passes.🤖 Generated with Claude Code