Skip to content

fix(deps): update dependency ruby to v3.4.13 - #87

Merged
koki-develop merged 1 commit into
mainfrom
renovate/ruby-3.x
Nov 29, 2026
Merged

koki-develop merged 1 commit into
mainfrom
renovate/ruby-3.x

Conversation

@renovate

@renovate renovate Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
ruby (source) patch 3.4.9 → 3.4.13
ruby (source) tools patch 3.4.9 → 3.4.13

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions

github-actions Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

Version Change: Ruby 3.4.9 → 3.4.13 (patch updates covering 3.4.10, 3.4.11, 3.4.12, 3.4.13)

Critical Security Fixes (3.4.13 - Released November 18, 2026):

This release addresses seven critical security vulnerabilities in Ruby's regex engine and string case conversion:

  • GHSA-34m4-m9fh-gqp5 (Critical): One-byte heap buffer overflow in case conversion (upcase, downcase(:fold), swapcase, casecmp?) when processing strings with 21+ ß characters in single-byte encodings (ISO-8859-x, Windows-125x). Default Rails apps exposed via multipart POST without requiring app code changes.
  • GHSA-7x2q-68qv-6p8x (Critical): Double free in regexp compilation with character class intersection (&&)
  • GHSA-3p8q-wmhx-vm2w (Critical): Heap buffer overflow in regexp compilation
  • GHSA-87fm-7w84-j2px (High): Integer overflow in case conversion for strings exceeding 4 GiB
  • GHSA-wpqw-5qxg-m68r (High): Out-of-bounds read in case-insensitive regexp matching
  • GHSA-7whj-cfh7-xgm4 (High): Heap buffer overflow in Regexp#to_s
  • GHSA-pvgc-g7gj-pv6h (Medium): Out-of-bounds read in backreference matching

Note: Proof-of-concept exploits demonstrating remote code execution (RCE) are publicly known. The most critical vulnerability (GHSA-34m4) can be exploited in default Rails configurations without authentication.

Intermediate Releases:

  • 3.4.12 (October 23, 2026): Regexp compilation fixes related to GitLab CVEs (CVE-2026-89078, CVE-2026-93577, CVE-2026-97229, CVE-2026-110264)
  • 3.4.11 (September 23, 2026): Regular bugfixes (heap-use-after-free in fiber_switch, parse.y issues, lambda interpolation fixes)
  • 3.4.10 (June 30, 2026): Bundled gem net-imap security fixes

Breaking Changes: None in these patch releases. All changes are backward-compatible security fixes and bug fixes within the 3.4.x series.

🎯 Impact Scope Investigation

Ruby Usage in Codebase:

  1. Runtime Execution: Ruby is one of seven supported runtimes in this sandbox service. The Ruby interpreter is installed via mise and executes user-submitted Ruby code in an isolated nsjail environment.

  2. Configuration Files Modified:

    • Dockerfile: Updates RUBY_VERSION build argument from 3.4.9 to 3.4.13
    • mise.toml: Updates Ruby version from 3.4.9 to 3.4.13
  3. Pre-installed Gems (unchanged):

    • base64 0.3.0
    • csv 3.3.5
    • fiddle 1.1.8
  4. Security Isolation: User code runs inside nsjail with strict resource limits and seccomp-BPF filtering. The vulnerabilities affect the Ruby interpreter itself, not the sandbox isolation mechanism.

  5. Test Coverage: Comprehensive E2E tests exist for Ruby runtime, including tests for:

    • String operations (upcase, gsub, etc.) - directly related to fixed vulnerabilities
    • Regular expressions - directly related to fixed vulnerabilities
    • Pre-installed gems (base64, csv, fiddle)
    • File operations and error handling

Dependency Impact:

  • No Go code dependencies on Ruby
  • No configuration changes required
  • Build process automatically picks up new Ruby version
  • Pre-installed gems remain compatible (patch version updates don't break gem compatibility)

CI Status:

  • Build: ✅ Pass
  • Lint: ✅ Pass
  • Unit Test: ✅ Pass
  • E2E Tests: ⏳ Pending (expected to pass based on backward compatibility)

💡 Recommended Actions

Immediate Actions:

  1. ✅ Merge this PR immediately - The security fixes are critical and address remotely exploitable RCE vulnerabilities
  2. ✅ Deploy updated container after E2E tests complete successfully
  3. ✅ Monitor for any runtime issues (unlikely given backward compatibility of patch releases)

No Code Changes Required:

  • The update is a drop-in replacement requiring no application code modifications
  • All existing Ruby code and tests remain compatible
  • Resource limits and sandbox configuration are unaffected

Security Benefit:

  • Eliminates seven security vulnerabilities including multiple RCE vectors
  • Protects against publicly known exploits targeting regex and string operations
  • Addresses vulnerabilities that can be triggered by user-submitted Ruby code executing string/regex operations

Risk Assessment:

  • Deployment Risk: Minimal - patch version updates maintain backward compatibility
  • Breaking Changes: None
  • Regression Risk: Very low - covered by existing E2E test suite
  • Security Risk of NOT Upgrading: Critical - known RCE exploits in the wild

🔗 Reference Links

Official Ruby Releases:

Security Analysis:

Version Information:

Generated by koki-develop/claude-renovate-review

@renovate
renovate Bot force-pushed the renovate/ruby-3.x branch from 7481c12 to 63635f0 Compare September 7, 2026 22:51
@renovate
renovate Bot force-pushed the renovate/ruby-3.x branch from 63635f0 to 5588582 Compare September 30, 2026 04:51
@renovate renovate Bot changed the title fix(deps): update dependency ruby to v3.4.10 Sep 30, 2026
@renovate
renovate Bot force-pushed the renovate/ruby-3.x branch from 5588582 to 9e94fd2 Compare October 30, 2026 01:04
@renovate renovate Bot changed the title fix(deps): update dependency ruby to v3.4.11 Oct 30, 2026
@renovate
renovate Bot force-pushed the renovate/ruby-3.x branch from 9e94fd2 to adcb21a Compare November 25, 2026 00:40
@renovate renovate Bot changed the title fix(deps): update dependency ruby to v3.4.12 Nov 25, 2026
@renovate
renovate Bot force-pushed the renovate/ruby-3.x branch from adcb21a to 3e17aa5 Compare November 29, 2026 22:32
@renovate
renovate Bot force-pushed the renovate/ruby-3.x branch from 3e17aa5 to 9a6033d Compare November 29, 2026 22:33
@koki-develop
koki-develop merged commit 4db3516 into main Nov 29, 2026
10 checks passed
@koki-develop
koki-develop deleted the renovate/ruby-3.x branch November 29, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant