Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-F22144D7-BAD1-11EC-9CFE-0800270512F4 (CVE-2022-28738): Ruby -- Double free in Regexp compilation

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-F22144D7-BAD1-11EC-9CFE-0800270512F4 (CVE-2022-28738): Ruby -- Double free in Regexp compilation

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
04/12/2022
Created
11/08/2022
Added
11/04/2022
Modified
11/04/2022

Description

A double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before 3.1.2. If a victim attempts to create a Regexp from untrusted user input, an attacker may be able to write to unexpected memory locations.

Solution(s)

  • freebsd-upgrade-package-ruby
  • freebsd-upgrade-package-ruby30
  • freebsd-upgrade-package-ruby31
  • freebsd-upgrade-package-ruby32

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;