Skip to content

Security: bump activesupport, rexml, yard#56

Open
technicalpickles wants to merge 4 commits into
mainfrom
security/dep-sweep
Open

Security: bump activesupport, rexml, yard#56
technicalpickles wants to merge 4 commits into
mainfrom
security/dep-sweep

Conversation

@technicalpickles

@technicalpickles technicalpickles commented Jun 18, 2026

Copy link
Copy Markdown

Security Update

This PR addresses 11 critical security vulnerabilities across three transitive dependencies.

Gem Version GHSAs Severity
activesupport 7.0.4.3 → 8.1.3 GHSA-2j26-frm8-cmj9, GHSA-cg4j-q9v8-6v38, GHSA-89vf-4333-qx8v, GHSA-cr5q-6q9f-rq6q critical
rexml 3.2.5 → 3.4.4 GHSA-2rxp-v6pw-ch6m, GHSA-vmwr-mc7x-5vc3, GHSA-5866-49gr-22v4, GHSA-r55c-59qm-vjw6, GHSA-4xqq-m2hx-25v8, GHSA-vg3r-rm7w-2xgh critical
yard 0.9.36 → 0.9.44 GHSA-3jfp-46x4-xgfj critical

This branch has been rebased onto main, which already incorporated the upstream Dependabot bump (PR #59) to activesupport 8.1.3 and updated the Ruby requirement to >= 3.3 (PR #58). As a result, the earlier workarounds introduced in this PR have been superseded:

  • The activesupport < 8 and connection_pool < 3 Gemfile constraints have been removed — they are no longer needed with Ruby >= 3.3.
  • The version-specific Sorbet RBI files (activesupport@7.2.3.1.rbi, connection_pool@2.5.5.rbi, yard@0.9.44.rbi, yard-sorbet@0.8.1.rbi) have been removed as they no longer correspond to the resolved gem versions.

Testing

All existing tests pass with the updated dependencies.

- activesupport 7.0.4.3 -> 8.1.3 (major version bump)
- rexml 3.2.5 -> 3.4.4
- yard 0.9.36 -> 0.9.44

Addresses multiple security vulnerabilities across all three gems.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
technicalpickles and others added 2 commits June 23, 2026 17:57
activesupport 8.1.3 pulls in connection_pool 3.0.2 which requires
Ruby >= 3.2, breaking the Ruby 3.1 CI matrix entry. activesupport
7.2.3.1 patches the same 4 CVEs (GHSA-2j26, GHSA-cg4j, GHSA-89vf,
GHSA-cr5q) while requiring only Ruby >= 3.1. Cap connection_pool < 3
in the Gemfile to prevent bundler from resolving 3.x transitively.
Regenerate Sorbet RBIs for activesupport 7.2.3.1 and connection_pool 2.5.5.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Delete tapioca-generated rexml@3.4.4.rbi (Sorbet stdlib already covers REXML)
- Regenerate yard@0.9.44.rbi and add yard-sorbet@0.8.1.rbi so YARDSorbet::Handlers::StructClassHandler resolves

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@technicalpickles technicalpickles marked this pull request as ready for review June 24, 2026 18:55
@technicalpickles technicalpickles requested a review from a team as a code owner June 24, 2026 18:55
This was referenced Jun 25, 2026

@dduugg dduugg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

#57 should remove the need to open these manually

@technicalpickles

Copy link
Copy Markdown
Author

@copilot fix conflict plz

Copilot AI commented Jun 26, 2026

Copy link
Copy Markdown

@copilot fix conflict plz

Resolved in 2a8e78a. Merged main, accepted the upstream Dependabot updates (activesupport 8.1.3, Ruby >= 3.3), removed the now-obsolete activesupport < 8 and connection_pool < 3 constraints from the Gemfile, and deleted the version-specific RBI files that no longer apply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

3 participants