Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Marcus Hoffmann via buildroot <buildroot@buildroot.org>
To: Peter Korsgaard <peter@korsgaard.com>,
	buildroot@buildroot.org, Julien Olivain <ju.o@free.fr>
Subject: Re: [Buildroot] [PATCH] package/ruby: security bump to version 4.0.10
Date: Thu, 19 Nov 2026 23:31:36 +0100	[thread overview]
Message-ID: <3ebcdfa3-6ae0-4e41-9a68-005eeaab9385@bubu1.eu> (raw)
In-Reply-To: <20261119160005.628790-1-peter@korsgaard.com>

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

  parent reply	other threads:[~2026-11-19 22:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=3ebcdfa3-6ae0-4e41-9a68-005eeaab9385@bubu1.eu \
    --to=buildroot@buildroot.org \
    --cc=buildroot@bubu1.eu \
    --cc=ju.o@free.fr \
    --cc=peter@korsgaard.com \
    /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