* [Buildroot] [PATCH] package/ruby: security bump to version 4.0.10
@ 2026-11-19 16:00 Peter Korsgaard
2026-11-19 19:37 ` Julien Olivain via buildroot
2026-11-19 22:31 ` Marcus Hoffmann via buildroot
0 siblings, 2 replies; 4+ messages in thread
From: Peter Korsgaard @ 2026-11-19 16:00 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/ruby: security bump to version 4.0.10
2026-11-19 16:00 [Buildroot] [PATCH] package/ruby: security bump to version 4.0.10 Peter Korsgaard
@ 2026-11-19 19:37 ` Julien Olivain via buildroot
2026-11-19 22:31 ` Marcus Hoffmann via buildroot
1 sibling, 0 replies; 4+ messages in thread
From: Julien Olivain via buildroot @ 2026-11-19 19:37 UTC (permalink / raw)
To: Peter Korsgaard; +Cc: buildroot
On 19/11/2026 17:00, Peter Korsgaard wrote:
> 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>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/ruby: security bump to version 4.0.10
2026-11-19 16:00 [Buildroot] [PATCH] package/ruby: security bump to version 4.0.10 Peter Korsgaard
2026-11-19 19:37 ` Julien Olivain via buildroot
@ 2026-11-19 22:31 ` Marcus Hoffmann via buildroot
2026-11-20 6:37 ` Peter Korsgaard
1 sibling, 1 reply; 4+ messages in thread
From: Marcus Hoffmann via buildroot @ 2026-11-19 22:31 UTC (permalink / raw)
To: Peter Korsgaard, buildroot, Julien Olivain
Hi Peter, Julien,
I'm a bit late here as Julien already applied this, but there's a few
inaccuracies in the commit message.
On 11/19/26 17:00, Peter Korsgaard wrote:
> 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
I believe these are technically gitlab (the product) CVEs and do not
apply to ruby, even though the cause and fixes live in ruby.
Ruby so far only seems to have GHSA's (I don't exactly know how the
github CNA works with CVEs and if there's CVE assignment pending or not
here.)
So 4.0.8 fixed CVE-2026-93577 / CVE-2026-97229 via GHSA-22mf-ggw7-pxfx
and 4.0.9 fixed CVE-2026-110264 via GHSA-qm4g-8pfh-6996
CVE-2026-89078 is not applicable because the underlying problem for that
was fixed in ruby 4.0 already.
>
> 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
Typo. Should be
https://github.com/ruby/ruby/security/advisories/GHSA-3p8q-wmhx-vm2w
instead here.
>
> 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/
Additionally the github release notes for 4.0.10 call out:
Update the default gem json from 2.18.0 to 2.18.3, which includes the
fix for CVE-2026-33210.
And then (as far as I can tell) there's another CVE hidden in the ruby
4.0.7 release which bumps the embedded ERB gem from 6.0.1.1 to 6.0.7
(https://github.com/ruby/ruby/pull/18282) which fixes
https://github.com/ruby/erb/security/advisories/GHSA-q339-8rmv-2mhv /
CVE-2026-41316.
For these last two we don't actually have any good way to track this in
buildroot in general I think. :-/
[...]
Best,
Marcus
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/ruby: security bump to version 4.0.10
2026-11-19 22:31 ` Marcus Hoffmann via buildroot
@ 2026-11-20 6:37 ` Peter Korsgaard
0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2026-11-20 6:37 UTC (permalink / raw)
To: Marcus Hoffmann; +Cc: buildroot, Julien Olivain
>>>>> "Marcus" == Marcus Hoffmann <buildroot@bubu1.eu> writes:
> Hi Peter, Julien,
> I'm a bit late here as Julien already applied this, but there's a few
> inaccuracies in the commit message.
> On 11/19/26 17:00, Peter Korsgaard wrote:
>> 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
> I believe these are technically gitlab (the product) CVEs and do not
> apply to ruby, even though the cause and fixes live in ruby.
True.
>> Heap buffer overflow in regular expression compilation
>> https://github.com/ruby/ruby/security/advisories/GHSA-7whj-cfh7-xgm4
> Typo. Should be
> https://github.com/ruby/ruby/security/advisories/GHSA-3p8q-wmhx-vm2w
> instead here.
Ups, I must have cut'n'pasted the wrong link.
> Additionally the github release notes for 4.0.10 call out:
> Update the default gem json from 2.18.0 to 2.18.3, which includes
> the fix for CVE-2026-33210.
> And then (as far as I can tell) there's another CVE hidden in the ruby
> 4.0.7 release which bumps the embedded ERB gem from 6.0.1.1 to 6.0.7
> (https://github.com/ruby/ruby/pull/18282) which fixes
> https://github.com/ruby/erb/security/advisories/GHSA-q339-8rmv-2mhv /
> CVE-2026-41316.
> For these last two we don't actually have any good way to track this
> in buildroot in general I think. :-/
No, indeed.
Thanks for the review!
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-20 6:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-19 16:00 [Buildroot] [PATCH] package/ruby: security bump to version 4.0.10 Peter Korsgaard
2026-11-19 19:37 ` Julien Olivain via buildroot
2026-11-19 22:31 ` Marcus Hoffmann via buildroot
2026-11-20 6:37 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox