Skip to content
pkgseek
Back to CVE search

CVE-2022-28738

high · 7.7

Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks. The following packages have been upgraded to a later upstream version: ruby (3.0.4). (BZ#2109428) Security Fix(es): * Ruby: Double free in Regexp compilation (CVE-2022-28738) * Ruby: Buffer overrun in String-to-Float conversion (CVE-2022-28739) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

First indexed 4/14/2022View on NVD

Advisory Facts

Markdown

CVE-2022-28738 is rated HIGH (7.7), with 98 indexed affected package builds across 5 distributions.

Severity / Score
HIGH (7.7)
Affected builds
98
Affected distros
5
Distros with fixed_in
AlmaLinux, Oracle Linux, Red Hat Enterprise Linux, Rocky Linux, Ubuntu
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2022-28738?locale=en

Distribution-aware status

5
Distributions
98
Package/release records
8
Vendor advisories
98
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

98 affected package/release combinations
ruby-default-gems
8noarch
2.7.8-139.module+el8.8.0+21111+2e34bf27Fixed in 3.0.4-141.module+el8.6.0+20741+4fdba061
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade ruby-default-gems
rubygem-abrt
8noarch
0.3.0-4.module+el8.10.0+90367+ae9e8511Fixed in 0.4.0-1.module+el8.5.0+20321+0ba6c954
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-abrt
rubygem-abrt-doc
8noarch
0.3.0-4.module+el8.10.0+90367+ae9e8511Fixed in 0.4.0-1.module+el8.5.0+20321+0ba6c954
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-abrt-doc
rubygem-mysql2
8x86_64
0.4.10-4.module+el8.9.0+90042+a65659a6Fixed in 0.5.3-1.module+el8.5.0+20321+0ba6c954
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-mysql2
rubygem-mysql2-doc
8noarch
0.4.10-4.module+el8.9.0+90042+a65659a6Fixed in 0.5.3-1.module+el8.5.0+20321+0ba6c954
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-mysql2-doc
rubygem-pg
8x86_64
1.0.0-3.module+el8.9.0+90042+a65659a6Fixed in 1.2.3-1.module+el8.5.0+20321+0ba6c954
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-pg
rubygem-pg-doc
8noarch
1.0.0-3.module+el8.9.0+90042+a65659a6Fixed in 1.2.3-1.module+el8.5.0+20321+0ba6c954
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-pg-doc
ruby
9.8i686, x86_64
3.0.3-159.el9Fixed in 3.0.4-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade ruby
ruby-default-gems
9.8noarch
3.0.3-159.el9Fixed in 3.0.4-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade ruby-default-gems
ruby-devel
9.8i686, x86_64
3.0.3-159.el9Fixed in 3.0.4-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade ruby-devel
rubygem-bigdecimal
9.8x86_64
3.0.0-159.el9Fixed in 3.0.0-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-bigdecimal
rubygem-bundler
9.8noarch
2.2.32-159.el9Fixed in 2.2.33-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-bundler
rubygem-io-console
9.8x86_64
0.5.7-159.el9Fixed in 0.5.7-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-io-console
rubygem-irb
9.8noarch
1.3.5-159.el9Fixed in 1.3.5-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-irb
rubygem-json
9.8x86_64
2.5.1-159.el9Fixed in 2.5.1-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-json
rubygem-minitest
9.8noarch
5.14.2-159.el9Fixed in 5.14.2-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-minitest
rubygem-power_assert
9.8noarch
1.2.0-159.el9Fixed in 1.2.0-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-power_assert
rubygem-psych
9.8x86_64
3.3.2-159.el9Fixed in 3.3.2-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-psych
rubygem-rake
9.8noarch
13.0.3-159.el9Fixed in 13.0.3-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rake
rubygem-rbs
9.8noarch
1.4.0-159.el9Fixed in 1.4.0-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rbs
rubygem-rdoc
9.8noarch
6.3.3-159.el9Fixed in 6.3.3-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rdoc
rubygem-rexml
9.8noarch
3.2.5-145.module+el9.5.0+22579+d0aa0a16Fixed in 3.2.5-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rexml
rubygem-rss
9.8noarch
0.2.9-145.module+el9.5.0+22579+d0aa0a16Fixed in 0.2.9-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rss
rubygems
9.8noarch
3.2.32-159.el9Fixed in 3.2.33-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygems
rubygems-devel
9.8noarch
3.2.32-159.el9Fixed in 3.2.33-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygems-devel
rubygem-test-unit
9.8noarch
3.3.7-159.el9Fixed in 3.3.7-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-test-unit
rubygem-typeprof
9.8noarch
0.15.2-159.el9Fixed in 0.15.2-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-typeprof
ruby-libs
9.8i686, x86_64
3.0.3-159.el9Fixed in 3.0.4-160.el9_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade ruby-libs
libruby2.7
focalamd64
2.7.0-5ubuntu1Fixed in 2.7.0-5ubuntu1.7
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade libruby2.7
ruby2.7
focalamd64
2.7.0-5ubuntu1Fixed in 2.7.0-5ubuntu1.7
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade ruby2.7
ruby2.7-dev
focalamd64
2.7.0-5ubuntu1Fixed in 2.7.0-5ubuntu1.7
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade ruby2.7-dev
ruby2.7-doc
focalall
2.7.0-5ubuntu1Fixed in 2.7.0-5ubuntu1.7
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade ruby2.7-doc

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.