CVE-2022-28738

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 64%
Affected Products (NVD)
VendorProductVersion
ruby-langruby
3.0.0 ≤
𝑥
< 3.0.4
ruby-langruby
3.1.0 ≤
𝑥
< 3.1.2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
ruby2.7
bullseye
2.7.4-1+deb11u1
fixed
bullseye (security)
2.7.4-1+deb11u2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
ruby2.3
xenial
not-affected
ruby2.5
bionic
not-affected
ruby2.7
focal
not-affected
impish
not-affected
jammy
dne
ruby3.0
jammy
Fixed 3.0.2-7ubuntu2.1
released
kinetic
not-affected
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
libruby3_4-3_4
suse enterprise desktop 15 SP7
3.4.1-150700.1.11
fixed
suse enterprise sap 15 SP7
3.4.1-150700.1.11
fixed
suse enterprise server 15 SP7
3.4.1-150700.1.11
fixed
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
ruby
RHEL 9
0:3.0.4-160.el9_0
fixed
ruby-default-gems
RHEL 9
0:3.0.4-160.el9_0
fixed
ruby-devel
RHEL 9
0:3.0.4-160.el9_0
fixed
ruby-doc
RHEL 9
0:3.0.4-160.el9_0
fixed
ruby-libs
RHEL 9
0:3.0.4-160.el9_0
fixed
rubygem-bigdecimal
RHEL 9
0:3.0.0-160.el9_0
fixed
rubygem-bundler
RHEL 9
0:2.2.33-160.el9_0
fixed
rubygem-io-console
RHEL 9
0:0.5.7-160.el9_0
fixed
rubygem-irb
RHEL 9
0:1.3.5-160.el9_0
fixed
rubygem-json
RHEL 9
0:2.5.1-160.el9_0
fixed
rubygem-minitest
RHEL 9
0:5.14.2-160.el9_0
fixed
rubygem-power
RHEL 9
0:1.2.0-160.el9_0
fixed
rubygem-psych
RHEL 9
0:3.3.2-160.el9_0
fixed
rubygem-rake
RHEL 9
0:13.0.3-160.el9_0
fixed
rubygem-rbs
RHEL 9
0:1.4.0-160.el9_0
fixed
rubygem-rdoc
RHEL 9
0:6.3.3-160.el9_0
fixed
rubygem-rexml
RHEL 9
0:3.2.5-160.el9_0
fixed
rubygem-rss
RHEL 9
0:0.2.9-160.el9_0
fixed
rubygem-test-unit
RHEL 9
0:3.3.7-160.el9_0
fixed
rubygem-typeprof
RHEL 9
0:0.15.2-160.el9_0
fixed
rubygems
RHEL 9
0:3.2.33-160.el9_0
fixed
rubygems-devel
RHEL 9
0:3.2.33-160.el9_0
fixed