Skip to content

fix(deps): allow activesupport 8.0.5.2 - #790

Open
ngosangns wants to merge 1 commit into
CocoaPods:masterfrom
gnasdev:allow-activesupport-8.0
Open

ngosangns wants to merge 1 commit into
CocoaPods:masterfrom
gnasdev:allow-activesupport-8.0

Conversation

@ngosangns

Copy link
Copy Markdown

Why

Apps cannot install Active Support 8.0.5.2, the release that patches GHSA-8474-xrp6-wh69. The gemspec still rejects every 8.0 version. This change raises only the ceiling.

What changed

  • The activesupport requirement in the gemspec now ends below 8.1.
  • The lower bound stays 5.0.

Scope

  • The 8.0 line is in scope, including 8.0.5.2.
  • Active Support 8.1 stays out. It is untested.
  • Existing apps stay on Active Support 7 unless they opt in.

Tradeoffs

A floor of 8.0.5.2 would drop Ruby 2.6 and every Active Support 7 app. The earlier cap change raised the ceiling from 7 to 8 and left the floor alone. This change does the same.

Blast Radius

Apps that stay on Active Support 7 still resolve. Apps that pin 8.0.5.2 can resolve. Versions 8.0.0 through 8.0.5.1 also become allowed, and those versions are still inside the advisory. One dependency line cannot allow 7.x and 8.0.5.2 while rejecting the vulnerable 8.0 releases between them.

Verification

  • bundle lock with CocoaPods 1.17.0 and activesupport 8.0.5.2 exited 0.
  • bundle lock with activesupport 7.2.4 exited 0.
  • pod install against a build that already pinned 8.0.5.2 installed 88 pods. This ceiling still allows that pin.

The gemspec rejects every Active Support 8 release.
8.0.5.2 patches GHSA-8474-xrp6-wh69.
The floor stays 5.0 so apps on Active Support 7 still resolve.

@robert-northmind robert-northmind left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I tested b026f6c in a React Native demo app with Ruby 3.3.7 and ActiveSupport 8.0.5.2, using a local CocoaPods Core checkout at that commit. Bundler resolved the dependencies, pod install passed, and the iOS Simulator Debug build succeeded. Thanks!

StasDoskalenko added a commit to StasDoskalenko/NitromelonDB that referenced this pull request Dec 1, 2026
…#278)

Dependabot alert Nozbe#533: activesupport 7.2.3.2 in the root Gemfile.lock is
affected by CVE-2026-126080 (DoS in safe_constantize, High). Fixed only in
8.0.5.2 / 8.1.4.1; Rails 7.2 gets no patch. activesupport is here only as a
dependency of cocoapods-core, which never calls safe_constantize with
untrusted input, but the alert stands.

cocoapods-core 1.17.0 (latest) caps activesupport at < 8. The upstream
fix, CocoaPods/Core#790 (approved, unmerged), raises the cap to < 8.1.
Until it ships, the Gemfile lifts the cap with Bundler 4.1's native
`override`, limited to the patched 8.0 line (~> 8.0.5.2), matching that
PR's scope.

- Gemfile.lock: activesupport 8.0.5.2 (pulls minitest 6.1.0, uri, prism),
  OVERRIDES section, BUNDLED WITH 4.1.1.
- Gemfile: ruby >= 3.2.0 (Bundler 4 and Active Support 8 both need it).

Checked: `pod install` in native/iosTest leaves the same Pods tree as
with 7.2.3.2 (identical `git diff --binary`). Starting from Ruby's built-in
Bundler 2.5.16, `bundle install` switches to 4.1.1 and resolves 8.0.5.2.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

2 participants