Skip to content

Version 6.0.0 - #1714

Draft
scarroll32 wants to merge 2 commits into
mainfrom
release-6-0-0
Draft

scarroll32 wants to merge 2 commits into
mainfrom
release-6-0-0

Conversation

@scarroll32

@scarroll32 scarroll32 commented Sep 21, 2026 •

Copy link
Copy Markdown
Member

Note

This PR was opened by Claude (Claude Code), acting on behalf of @scarroll32.
Draft: merge last, when 6.0.0 is released (planned on October 10, 2026, after a testing period against main). Merging it and publishing a GitHub Release tagged v6.0.0 publishes the gem; see the release flow.

Bumps Ransack::VERSION to 6.0.0. Closes #1640 when it merges.

The text below is a draft of the release notes, compiled from the eight PRs of the 6.0.0 stack, ready to paste into the GitHub Release.


Security

  • Bounds the multiparameter position (created_at(1i)) in search params and drops malformed keys, closing a memory-exhaustion denial of service where a crafted q[created_at(100000000000i)]=1 made the server allocate an array of that size. GHSA-vxc9-rm8f-p56j, reported by @connorshea. Also released as 5.0.1 and 4.4.2.
  • Bounds the depth of a search key, closing a denial of service where a crafted q[...] condition key or q[s] sort value with thousands of _-separated segments was parsed in quadratic time and exhausted CPU. Not mitigated by attribute allowlisting. GHSA-j3f8-w227-4hh8. Also released as 5.0.2 and 4.4.3.

Breaking changes

Every item above is explained, with what to change, on the docs' Upgrading page.

Features

Bug fixes

Documentation

Internal


🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@scarroll32 scarroll32 mentioned this pull request Sep 21, 2026
45 of 46 tasks
@connorshea

Copy link
Copy Markdown
Contributor

Thank you for all the work on this 🙇

This branch has not been deployed

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