Skip to content

Bump puma to 8.0.4, rack-protection to 4.2.2 and mustache to 1.1.3, upgrade to Ruby 3.3.14 - #2065

Merged
jbirdjavi merged 4 commits into
masterfrom
bump-puma-rack-protection
Nov 23, 2026
Merged

jbirdjavi merged 4 commits into
masterfrom
bump-puma-rack-protection

Conversation

@jbirdjavi

@jbirdjavi jbirdjavi commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Update

  • puma 8.0.3 to 8.0.4
  • rack-protection 4.2.1 to 4.2.2, with sinatra 4.2.1 to 4.2.2 (sinatra pins rack-protection exactly)
  • mustache 1.1.1 to 1.1.3 (its own commit)
  • Ruby 3.3.13 to 3.3.14 (its own commit): fixes seven Regexp and String case conversion vulnerabilities, some with remote code execution proofs of concept. https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/
  • Brakeman 8.1.0 to 8.1.1 (its own commit): CI and the pre-push hook run brakeman --ensure-latest, which fails on 8.1.0 now that 8.1.1 is out.

Commands:

  • bundle update puma --conservative --patch
  • bundle update sinatra rack-protection --conservative
  • bundle update mustache --conservative --patch
  • bundle update --ruby (after setting .ruby-version to 3.3.14)
  • bundle update brakeman --conservative

Additional Notes

Only Gemfile.lock changes, plus .ruby-version and the Ruby version line in README.md for the Ruby commit. Bundler moved nothing else except the gems' checksums.

What pulls these in:

  • sinatra comes from raddocs (a top-level gem in the Gemfile, so it is in the production bundle). rack-protection comes from sinatra.
  • mustache comes from rspec_api_documentation, which is in the development, test group only. It is not in the production bundle.

Advisories cleared, and why exposure was low (we checked with git grep on master):

Brakeman 8.1.1 adds 5 Weak UnscopedFind findings (translated_attributes_controller.rb:64, resources_controller.rb:65 and :103, pages_controller.rb:19, resource_languages_controller.rb:17). CI runs Brakeman with -x UnscopedFind on purpose, so with the CI flags 8.1.1 reports the same result as 8.1.0 (0 warnings). The cru-plugins pre-push hook runs brakeman -A without that flag and already reported 13 warnings on 8.1.0.

This PR replaces Dependabot's #2062 (mustache 1.1.3). Dependabot will close it on its own once this merges.

Checked locally (Ruby 3.3.14):

  • bundle exec bundler-audit check --update: no vulnerabilities.
  • bundle exec brakeman -A -q --no-pager -x UnscopedFind: 0 warnings on 8.1.0 and on 8.1.1.
  • Full bundle exec rspec: 1056 examples, 0 failures, 3 pending.

Related Links

🤖 Generated with Claude Code

jbirdjavi and others added 2 commits November 23, 2026 12:52
puma 8.0.3 -> 8.0.4: GHSA-4v6q-hvv7-49h9, GHSA-rhww-p99c-hgj9
rack-protection 4.2.1 -> 4.2.2: GHSA-pf75-2v58-7mxg, GHSA-r29j-38x9-qr26, GHSA-vvhm-j6m8-64cw
sinatra 4.2.1 -> 4.2.2 (pins rack-protection exactly)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
mustache 1.1.1 -> 1.1.3: GHSA-5hrj-7fc3-cmx9 (Critical)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@jbirdjavi

jbirdjavi commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 agent-review · ✅ no blockers · risk MEDIUM
advisory · 6 agents run (Code Review (/code-review xhigh), Security Review Agent, Data Integrity Review Agent, Testing Review Agent, Standards Compliance Review Agent, XML Content Spec Review Agent) · incremental since e060755

BLOCKERS: fix or dismiss to pass

✅ No blockers.

OTHER FINDINGS (6)

  • #1 · 4/10 · .ruby-version:1 · PR title and body still describe only the puma, rack-protection and mustache bumps and say "Only Gemfile.lock changes", but the PR now also upgrades Ruby to 3.3.14 and Brakeman to 8.1.1. (code-review)
  • #2 · 4/10 · .ruby-version:1 · Ruby 3.3 reaches end of life on 2027-03-31, and Brakeman adds a low-confidence pending EOL warning from 2027-01-30 that will turn CI's Brakeman step red on every PR. Pre-existing, so plan the move to Ruby 3.4. (code-review)
  • #3 · 3/10 · /Users/justinsabelko/.claude/plugins/marketplaces/cru-plugins/plugins/git/hooks/lint-before-push.sh:376 · The pre-push hook runs brakeman without -x UnscopedFind, so it blocks pushes on warnings that CI skips. Outside this repo and pre-existing. (code-review)
  • #4 · 2/10 · .claude/review/config.yml:31 · Risk patterns have no entry for .ruby-version, so a Ruby runtime change scores as a 1-point unknown file. Pre-existing config. (code-review)
  • #5 · 2/10 · .github/workflows/ruby.yml:80 · Commit 2648420 says CI and the pre-push hook fail on Brakeman 8.1.0 via --ensure-latest, but CI dropped that flag and the hook only warns. (code-review)
  • #6 · 2/10 · README.md:9 · README still says Rails 8.0.5 while Gemfile.lock pins 8.1.4.1. Pre-existing line next to the Ruby edit. (code-review)
🔧 Fix suggestions (0)

No automated fixes for this review.

📦 Dependency impact

Index disabled.

📊 Review detail & stats

Generated: 2026-11-23 · Day: Monday · Files changed: 3 in this pass (+5 -5 lines)
Risk score: 4 · MEDIUM · Required reviewer: entry

Risk factors detected: lockfile_only_change; unmatched paths .ruby-version, README.md

Deterministic evidence:

  • AST/static rules: none
  • CI snapshot: unavailable
  • Cross-repo context: none

Agent summary (bands: Critical 9-10 · High 7-8 · Important 5-6 · Suggestions 3-4):

Agent Critical High Important Suggestions Confidence
Code Review (/code-review xhigh) 0 0 0 3 H
Security Review Agent 0 0 0 0 H
Data Integrity Review Agent 0 0 0 0 H
Testing & Quality Review Agent 0 0 0 0 H
Standards Compliance Review Agent 0 0 0 0 H
XML Content Spec Review Agent 0 0 0 0 H
Total 0 0 0 3 -

(Three more code-review findings are below 3/10 and not in a band.)

Engine: code-review (from config) · effort xhigh (from config) · model opus (from config)
/code-review findings: found 6 · scored 6 · dropped 0

Review quality:

  • Average agent confidence: High
💬 How to act on this review

Every finding above is numbered. Severity 7 and higher findings carry a checkbox and must each be fixed or dismissed before this review counts as passed; lower severities are advisory. This repo runs reviews locally only, so work this ledger with /agent-review:address in a Claude Code session. Valid codes: false-positive, intentional, pre-existing, deferred, duplicate, insufficient-evidence, other.

github-actions[bot]
github-actions Bot previously approved these changes Nov 23, 2026

@github-actions github-actions Bot 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.

Auto-approved: the agent-review report for this head passes with no open blockers, and no repo rule or recorded check needs a person.

jbirdjavi and others added 2 commits November 23, 2026 14:35
Ruby 3.3.14 fixes seven Regexp and String case conversion
vulnerabilities, some with remote code execution proofs of concept.
https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/

GHSA-34m4-m9fh-gqp5, GHSA-7x2q-68qv-6p8x, GHSA-87fm-7w84-j2px,
GHSA-wpqw-5qxg-m68r, GHSA-3p8q-wmhx-vm2w, GHSA-7whj-cfh7-xgm4,
GHSA-pvgc-g7gj-pv6h

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
CI and the pre-push hook run `brakeman --ensure-latest`, which fails
on 8.1.0 now that 8.1.1 is out.

CI runs Brakeman with `-x UnscopedFind`. 8.1.1 adds only 5 Weak
UnscopedFind findings:
- app/controllers/translated_attributes_controller.rb:64
- app/controllers/resources_controller.rb:65
- app/controllers/resources_controller.rb:103
- app/controllers/pages_controller.rb:19
- app/controllers/resource_languages_controller.rb:17

With the repo's CI flags, 8.1.1 reports the same result as 8.1.0
(0 warnings).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions
github-actions Bot dismissed their stale review November 23, 2026 20:46

agent-review: the bot took back its approval of e060755 because the PR changed beyond merging in the default branch. Run /agent-review:re-review (or /agent-review:review) and post the report. The bot approves again when the report passes for the new head.

@github-actions github-actions Bot 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.

Auto-approved: the agent-review report for this head passes with no open blockers, and no repo rule or recorded check needs a person.

@jbirdjavi jbirdjavi changed the title Bump puma to 8.0.4, rack-protection to 4.2.2 and mustache to 1.1.3 Bump puma to 8.0.4, rack-protection to 4.2.2 and mustache to 1.1.3, upgrade to Ruby 3.3.14 Nov 23, 2026
@stage-branch-merger

Copy link
Copy Markdown

I see you added the "On Staging" label, I'll get this merged to the staging branch!

@jbirdjavi
jbirdjavi merged commit 4030958 into master Nov 23, 2026
15 checks passed
@jbirdjavi
jbirdjavi deleted the bump-puma-rack-protection branch November 23, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant