Lucene search

K
rubygemsRubySecRUBY:RUBY-2024-27282
HistoryApr 22, 2024 - 9:00 p.m.

Arbitrary memory address read vulnerability with Regex search

2024-04-2221:00:00
RubySec
www.ruby-lang.org
14
arbitrary memory vulnerability
ruby regex
heap data extraction
software update
compatibility fix

AI Score

7.3

Confidence

High

If attacker-supplied data is provided to the Ruby regex compiler, it is
possible to extract arbitrary heap data relative to the start of the text,
including pointers and sensitive strings.

We recommend to update the Ruby to version 3.3.1 or later. In order to ensure compatibility with older Ruby series, you may update as follows instead:

  • For Ruby 3.0 users: Update to 3.0.7
  • For Ruby 3.1 users: Update to 3.1.5
  • For Ruby 3.2 users: Update to 3.2.4
  • For Ruby 3.3 users: Update to 3.3.1

Affected configurations

Vulners
Node
rubyrubyRange3.0.03.0.7
OR
rubyrubyRange3.1.03.1.5
OR
rubyrubyRange3.2.03.2.4
OR
rubyrubyRange3.3.1
VendorProductVersionCPE
rubyruby*cpe:2.3:a:ruby:ruby:*:*:*:*:*:*:*:*