CVE-2022-28739

High

Description

There is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7.6, 3.x before 3.0.4, and 3.1.x before 3.1.2. It occurs in String-to-Float conversion, including Kernel#Float and String#to_f.

SeverityHigh
CVSS7.5
Exploit probability—
ProductRuby
PublishedMay 9, 2022
First seenMay 9, 2022

How to fix

Update
  • ruby-lang ruby2.6.10, 2.7.6, 3.0.4, 3.1.2 or later
  • apple macos11.7.1, 12.6.1 or later

Affected products

ProductAffected versionsFixed in
ruby-lang rubyv < 2.6.10, 2.7.0 ≤ v < 2.7.6, 3.0.0 ≤ v < 3.0.4, 3.1.0 ≤ v < 3.1.22.6.10, 2.7.6, 3.0.4, 3.1.2
debian debian_linux9.0, 10.0, 11.0—
apple macos11.0 ≤ v < 11.7.1, 12.0 ≤ v < 12.6.111.7.1, 12.6.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.