Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@buildroot.org
Subject: [Buildroot] [PATCH] package/ruby: security bump to version 4.0.10
Date: Thu, 19 Nov 2026 17:00:04 +0100	[thread overview]
Message-ID: <20261119160005.628790-1-peter@korsgaard.com> (raw)

Fixes the following security issues:

CVE-2026-89078: Double Free issue in Regular Expression Parser
CVE-2026-93577: Integer Overflow issue in Regular Expression Compiler
CVE-2026-97229: Integer Overflow issue in CI/CD Regular Expression Compiler
CVE-2026-110264: Integer Overflow issue in Regular Expression Compiler

https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/

Heap buffer overflow in case conversion of strings
https://github.com/ruby/ruby/security/advisories/GHSA-34m4-m9fh-gqp5

Double free in regular expression compilation
https://github.com/ruby/ruby/security/advisories/GHSA-7x2q-68qv-6p8x

Integer overflow in case conversion of strings
https://github.com/ruby/ruby/security/advisories/GHSA-87fm-7w84-j2px

Out-of-bounds read in case-insensitive regular expression matching
https://github.com/ruby/ruby/security/advisories/GHSA-wpqw-5qxg-m68r

Heap buffer overflow in regular expression compilation
https://github.com/ruby/ruby/security/advisories/GHSA-7whj-cfh7-xgm4

Heap buffer overflow in Regexp#to_s
https://github.com/ruby/ruby/security/advisories/GHSA-7whj-cfh7-xgm4

Out-of-bounds read in case-insensitive backreference matching
https://github.com/ruby/ruby/security/advisories/GHSA-pvgc-g7gj-pv6h

https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/

Release notes:
https://www.ruby-lang.org/en/news/2026/09/15/ruby-4-0-7-released/
https://www.ruby-lang.org/en/news/2026/10/22/ruby-4-0-8-released/
https://www.ruby-lang.org/en/news/2026/10/23/ruby-4-0-9-released/
https://www.ruby-lang.org/en/news/2026/11/18/ruby-4-0-10-released/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/ruby/ruby.hash | 6 +++---
 package/ruby/ruby.mk   | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/ruby/ruby.hash b/package/ruby/ruby.hash
index f62a3fadb0..018f55d7a0 100644
--- a/package/ruby/ruby.hash
+++ b/package/ruby/ruby.hash
@@ -1,6 +1,6 @@
-# From https://www.ruby-lang.org/en/news/2026/07/14/ruby-4-0-6-released/
-sha256  9c9d121fe3314ea7c801e690b9de981d2b9d12d7849db99c27482468a541ba0a  ruby-4.0.6.tar.xz
-sha512  c9c391675a098b5a27dd687571ab0a164c788cbb8ddcbab6d17a3e8b3c4ba389346b2e6d7807d38db3e74d225c70e378a296d60d0f465cb0fcec9702242c83c6  ruby-4.0.6.tar.xz
+# From https://www.ruby-lang.org/en/news/2026/11/18/ruby-4-0-10-released/
+sha256  1537f7a6003c436546ecab6b48b6e7725a9af2328f45a8af7f42f41c5df90ab8  ruby-4.0.10.tar.xz
+sha512  d3fdb00e08165526065ce84a4606cdcfb9fb04ad8cfb0b516a403382cfc25e1aeed9ee4a13abdff98ebfd7241eaf32303fd7c385ef63e58c17689da88b80d847  ruby-4.0.10.tar.xz
 
 # License files, Locally calculated
 sha256  a74812486cffbdc55141a5d9f165d782cbb202660d827622ec966237d4717b99  LEGAL
diff --git a/package/ruby/ruby.mk b/package/ruby/ruby.mk
index bea1820f74..148230152d 100644
--- a/package/ruby/ruby.mk
+++ b/package/ruby/ruby.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 RUBY_VERSION_MAJOR = 4.0
-RUBY_VERSION = $(RUBY_VERSION_MAJOR).6
+RUBY_VERSION = $(RUBY_VERSION_MAJOR).10
 RUBY_VERSION_EXT = 4.0.0
 RUBY_SITE = http://cache.ruby-lang.org/pub/ruby/$(RUBY_VERSION_MAJOR)
 RUBY_SOURCE = ruby-$(RUBY_VERSION).tar.xz
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2026-11-19 16:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19 16:00 Peter Korsgaard [this message]
2026-11-19 19:37 ` [Buildroot] [PATCH] package/ruby: security bump to version 4.0.10 Julien Olivain via buildroot
2026-11-19 22:31 ` Marcus Hoffmann via buildroot
2026-11-20  6:37   ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261119160005.628790-1-peter@korsgaard.com \
    --to=peter@korsgaard.com \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox