You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Precompiled rubies bundled msgpack 1.8.0, which security scanners such as trivy flag for GHSA-4mrv-5p47-p938 (use-after-free in MessagePack::Buffer#clear, fixed in 1.8.2). This bumps the bundled msgpack to 1.8.7 for every series (defaults, 3.2, 3.3).
1.8.7 also covers GHSA-73v3-wf97-vpgj, which only affects the JRuby decoder and so does not apply to these CRuby builds. The gem's sha256 was verified against a fresh download, and it requires Ruby >= 2.5, so 3.2 is fine.
bootsnap is left as is; it is not part of the advisory.
Low Risk
Dependency pin bump in build recipes only; reduces security exposure without changing application Ruby code.
Overview
Updates the bundled msgpack gem in recipes/series.yml from 1.8.0 to 1.8.7 for default builds and Ruby 3.2 and 3.3 series, including refreshed download URLs and SHA256 checksums.
This addresses security scanner findings (e.g. GHSA-4mrv-5p47-p938) for the version shipped with precompiled rubies. bootsnap pins are unchanged.
Reviewed by Cursor Bugbot for commit 8d9ee59. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by CodeRabbit
Chores
Updated the bundled MessagePack version to 1.8.7, including the configurations for Ruby 3.2 and 3.3. Matching download details and integrity checks were also updated. Other gem settings remain unchanged. This keeps the packaged version consistent across the default and supported Ruby series configurations.
1.8.0 is affected by GHSA-4mrv-5p47-p938 (use-after-free in Buffer#clear)
and is flagged by scanners such as trivy.
Co-authored-by: Bruno Escherl <4507945+Aqualon@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
No actionable comments were generated in the recent review.
Walkthrough
The default bundled msgpack version and the versions configured for Ruby 3.2 and 3.3 change from 1.8.0 to 1.8.7. Their download URLs and SHA-256 checksums are also updated.
Changes: msgpack Version Updates
Layer / File(s)
Summary
Update msgpack recipe entries recipes/series.yml
The default bundled entry and the Ruby 3.2 and 3.3 entries now specify msgpack 1.8.7, with matching download URLs and SHA-256 checksums.
This updates the bundled msgpack gem to a release that fixes a reported use-after-free. No merge-blocking risk was found in the recipe change.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "fix: bump bundled msgpack to 1.8.7" matches the main change in recipes/series.yml, which raises the default bundled msgpack and the Ruby 3.2 and 3.3 msgpack versions from 1.8.0 to 1.8.7 wit…
Linked Issues check
Issue #74 asks that mise-installed Rubies stop shipping msgpack 1.8.0, which the reporter links to GHSA-4mrv-5p47-p938 (flagged by Trivy). At head, recipes/series.yml sets msgpack to 1.8.7 in the defa…
Out of Scope Changes check
The PR summary and the raw summary both list one changed file, recipes/series.yml. Its changes only replace the msgpack version, URL and SHA-256 in the defaults, 3.2 and 3.3 blocks. The bootsnap entri…
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check
Explanation
The title "fix: bump bundled msgpack to 1.8.7" matches the main change in recipes/series.yml, which raises the default bundled msgpack and the Ruby 3.2 and 3.3 msgpack versions from 1.8.0 to 1.8.7 with updated URLs and SHA-256 checksums. The PR objectives confirm the purpose is the msgpack upgrade for the security advisory GHSA-4mrv-5p47-p938. The title is specific and concise. It does not mention the security motivation, and it does not cover the unchanged bootsnap or the open questions in linked issue #74, but the title does not need to cover every detail.
Full details: Linked Issues check
Explanation
Issue #74 asks that mise-installed Rubies stop shipping msgpack 1.8.0, which the reporter links to GHSA-4mrv-5p47-p938 (flagged by Trivy). At head, recipes/series.yml sets msgpack to 1.8.7 in the defaults block and in series 3.2 and 3.3, with the rubygems URL and SHA-256 dfefec76...2df33. Series 3.4, 3.5, 4.0 and 4.1 declare no bundled_gems override ({}), so they inherit the defaults. Ruby 4.0.9, named in the issue, therefore gets msgpack 1.8.7. The coding requirement is met. The issue also asks why bootsnap and msgpack are bundled, and notes bootsnap 1.18.6 is old. These are a question and an observation, not a defined coding requirement. The PR leaves bootsnap unchanged and does not answer the question. No automated test was part of the requirement. The diff tool was unavailable, so the change is confirmed from the head file content and the PR summary, not from a diff.
Full details: Out of Scope Changes check
Explanation
The PR summary and the raw summary both list one changed file, recipes/series.yml. Its changes only replace the msgpack version, URL and SHA-256 in the defaults, 3.2 and 3.3 blocks. The bootsnap entries are unchanged, which matches the PR description. No unrelated change was found. Pre-existing values, such as bootsnap 1.18.4 in series 3.2 and 3.3 against 1.18.6 in defaults, are not changed by this PR and are not assessed here.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Central YAML (base), Organization UI (inherited)
Review profile: CHILL
Plan: Advanced
Run ID: 57641199-96b3-4249-8fca-9dda461fd3bf
Commits
Reviewing files that changed from the base of the PR and between 6307d08 and 8d9ee59.
Files selected for processing: 1
recipes/series.yml
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
The bundled `msgpack` and `bootsnap` gems were pinned by hand in
`recipes/series.yml`, so they fell behind (msgpack 1.8.0 shipped with a
known advisory, see #74 and #75). This adds `bin/update-bundled-gems`
and runs it from the autobump workflow, which already runs twice a day.
The script picks, per entry, the newest stable `ruby`-platform release
that has the same major version as the pinned one and whose
`required_ruby_version` the series' minimum Ruby satisfies (for the
defaults, the oldest series that inherits them). It checks each gem's
sha256 against the rubygems.org metadata and rewrites the version, url
and sha256 lines in place. A second run changes nothing.
Unlike the Ruby recipe bumps, the workflow opens a PR on
`autobump/bundled-gems` instead of pushing to `main`, so the build jobs
validate new gems before they land. It skips if such a PR is already
open.
This PR changes no recipe data. Run against current `main`, the script
would bump msgpack to 1.8.7 and bootsnap to 1.26.1 for every series,
including 3.2 and 3.3, which are pinned to bootsnap 1.18.4 today for a
reason I could not find (rubygems.org says 1.26.1 needs Ruby >= 2.7).
The first autobump PR will show whether those build.
I ran the script locally with ruby 4.0.9 and checked it with actionlint;
the two shellcheck notes that remain were already in the workflow.
*AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5;
version: 2.1.326.*
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Introduces scheduled automation that mutates dependency pins and
fetches gems from RubyGems; risk is mitigated by SHA checks, recipe
validation, and PR-gated merges rather than direct pushes to main.
>
> **Overview**
> Adds **automated bundled gem bumps** for `msgpack` and `bootsnap` in
`recipes/series.yml` via new `bin/update-bundled-gems` /
`libexec/update_bundled_gems.rb`. The updater picks the newest stable
same-major release compatible with each series’ minimum Ruby, verifies
SHA256 against RubyGems metadata, and rewrites version/url/sha256 in
place.
>
> The **autobump workflow** now uses a `concurrency` group and, after
Ruby recipe pushes, runs the updater on branch `autobump/bundled-gems`,
skipping when that PR already exists. Changes go through a **PR** (not
direct push to `main`) with validation and a generated body listing
bumps.
>
> **CI** syntax-checks the new script and, on `autobump/*` PRs, runs
**extra builds** for Ruby **3.2.9** and **3.3.14** so older
series-specific gem pins are exercised. `CLAUDE.md` documents the new
command.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
53deecd. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **Chores**
* Bundled gem versions can now be updated automatically to newer stable
releases compatible with the supported Ruby versions. Updates are
verified and submitted for review when changes are available.
* The update process reports when bundled gems are already current and
stops if an update cannot be verified.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
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
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.
Precompiled rubies bundled msgpack 1.8.0, which security scanners such as trivy flag for GHSA-4mrv-5p47-p938 (use-after-free in
MessagePack::Buffer#clear, fixed in 1.8.2). This bumps the bundled msgpack to 1.8.7 for every series (defaults, 3.2, 3.3).1.8.7 also covers GHSA-73v3-wf97-vpgj, which only affects the JRuby decoder and so does not apply to these CRuby builds. The gem's sha256 was verified against a fresh download, and it requires Ruby >= 2.5, so 3.2 is fine.
bootsnap is left as is; it is not part of the advisory.
Fixes #74
AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: 2.1.326.
🤖 Generated with Claude Code
Note
Low Risk
Dependency pin bump in build recipes only; reduces security exposure without changing application Ruby code.
Overview
Updates the bundled
msgpackgem inrecipes/series.ymlfrom 1.8.0 to 1.8.7 for default builds and Ruby 3.2 and 3.3 series, including refreshed download URLs and SHA256 checksums.This addresses security scanner findings (e.g. GHSA-4mrv-5p47-p938) for the version shipped with precompiled rubies.
bootsnappins are unchanged.Reviewed by Cursor Bugbot for commit 8d9ee59. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by CodeRabbit