Vulnerability · Published May 9, 2022 · Assigned by mitre

CVE-2022-28739

High 7.5

In plain English

A high-severity security flaw in the ruby package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.4% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)4.4%top 8.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8ruby3.0.4-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:8ruby2.5.9-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8ruby2.7.6-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:9ruby3.0.4-160.el9_0ALSA-2022:6585
AlmaLinux:8ruby-default-gems3.0.4-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:8ruby-default-gems2.7.6-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:9ruby-default-gems3.0.4-160.el9_0ALSA-2022:6585
AlmaLinux:8ruby-devel3.0.4-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:8ruby-devel2.7.6-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:8ruby-devel2.5.9-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:9ruby-devel3.0.4-160.el9_0ALSA-2022:6585
AlmaLinux:8ruby-doc3.0.4-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:8ruby-doc2.7.6-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:8ruby-doc2.5.9-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:9ruby-doc3.0.4-160.el9_0ALSA-2022:6585
AlmaLinux:8ruby-irb2.5.9-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8ruby-libs2.5.9-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8ruby-libs2.7.6-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:8ruby-libs3.0.4-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:9ruby-libs3.0.4-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-abrt0.4.0-1.module_el8.5.0+2595+0c654ebcALSA-2022:6450
AlmaLinux:8rubygem-abrt0.3.0-4.module_el8.5.0+2625+ec418553ALSA-2023:7025
AlmaLinux:8rubygem-abrt0.4.0-1.module_el8.5.0+2595+0c654ebcALSA-2022:6447
AlmaLinux:8rubygem-abrt-doc0.3.0-4.module_el8.5.0+2625+ec418553ALSA-2023:7025
AlmaLinux:8rubygem-abrt-doc0.4.0-1.module_el8.5.0+2595+0c654ebcALSA-2022:6447
AlmaLinux:8rubygem-abrt-doc0.4.0-1.module_el8.5.0+2595+0c654ebcALSA-2022:6450
AlmaLinux:8rubygem-bigdecimal3.0.0-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:8rubygem-bigdecimal2.0.0-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:8rubygem-bigdecimal1.3.4-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:9rubygem-bigdecimal3.0.0-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-bson4.3.0-2.module_el8.5.0+259+8cec6917ALSA-2023:7025
AlmaLinux:8rubygem-bson4.8.1-1.module_el8.5.0+117+35d1289bALSA-2022:6447
AlmaLinux:8rubygem-bson4.8.1-1.module_el8.6.0+3167+957ef55eALSA-2022:6447
AlmaLinux:8rubygem-bson4.8.1-1.module_el8.4.0+2399+4e3a532aALSA-2022:6447
AlmaLinux:8rubygem-bson4.8.1-1.module_el8.3.0+6147+d0dfc1e4ALSA-2022:6447
AlmaLinux:8rubygem-bson4.3.0-2.module_el8.6.0+3170+4b08f9d4ALSA-2023:7025
AlmaLinux:8rubygem-bson4.3.0-2.module_el8.5.0+2625+ec418553ALSA-2023:7025
AlmaLinux:8rubygem-bson-doc4.8.1-1.module_el8.3.0+6147+d0dfc1e4ALSA-2022:6447
AlmaLinux:8rubygem-bson-doc4.3.0-2.module_el8.5.0+2625+ec418553ALSA-2023:7025
AlmaLinux:8rubygem-bundler2.2.33-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:8rubygem-bundler2.2.24-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:8rubygem-bundler1.16.1-4.module_el8.5.0+2625+ec418553ALSA-2023:7025
AlmaLinux:9rubygem-bundler2.2.33-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-bundler-doc1.16.1-4.module_el8.5.0+2625+ec418553ALSA-2023:7025
AlmaLinux:8rubygem-did_you_mean1.2.0-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8rubygem-io-console0.5.7-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:8rubygem-io-console0.4.6-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8rubygem-io-console0.5.6-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:9rubygem-io-console0.5.7-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-irb1.3.5-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:8rubygem-irb1.2.6-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:9rubygem-irb1.3.5-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-json2.5.1-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:8rubygem-json2.3.0-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:8rubygem-json2.1.0-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:9rubygem-json2.5.1-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-minitest5.14.2-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:8rubygem-minitest5.10.3-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8rubygem-minitest5.13.0-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:9rubygem-minitest5.14.2-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-mongo2.5.1-2.module_el8.5.0+2625+ec418553ALSA-2023:7025
AlmaLinux:8rubygem-mongo2.11.3-1.module_el8.3.0+6147+d0dfc1e4ALSA-2022:6447
AlmaLinux:8rubygem-mongo-doc2.5.1-2.module_el8.5.0+2625+ec418553ALSA-2023:7025
AlmaLinux:8rubygem-mongo-doc2.11.3-1.module_el8.3.0+6147+d0dfc1e4ALSA-2022:6447
AlmaLinux:8rubygem-mysql20.5.3-1.module_el8.6.0+3167+957ef55eALSA-2022:6447
AlmaLinux:8rubygem-mysql20.5.3-1.module_el8.5.0+2595+0c654ebcALSA-2022:6447
AlmaLinux:8rubygem-mysql20.5.3-1.module_el8.5.0+117+35d1289bALSA-2022:6447
AlmaLinux:8rubygem-mysql20.4.10-4.module_el8.6.0+3170+4b08f9d4ALSA-2023:7025
AlmaLinux:8rubygem-mysql20.5.3-1.module_el8.5.0+118+1ab773e1ALSA-2022:6450
AlmaLinux:8rubygem-mysql20.5.3-1.module_el8.6.0+3144+d138acf1ALSA-2022:6450
AlmaLinux:8rubygem-mysql20.5.3-1.module_el8.5.0+2595+0c654ebcALSA-2022:6450
AlmaLinux:8rubygem-mysql20.4.10-4.module_el8.5.0+2625+ec418553ALSA-2023:7025
AlmaLinux:8rubygem-mysql20.4.10-4.module_el8.5.0+259+8cec6917ALSA-2023:7025
AlmaLinux:8rubygem-mysql20.5.3-1.module_el8.4.0+2399+4e3a532aALSA-2022:6447
AlmaLinux:8rubygem-mysql2-doc0.4.10-4.module_el8.5.0+2625+ec418553ALSA-2023:7025
AlmaLinux:8rubygem-mysql2-doc0.5.3-1.module_el8.5.0+2595+0c654ebcALSA-2022:6447
AlmaLinux:8rubygem-mysql2-doc0.5.3-1.module_el8.5.0+2595+0c654ebcALSA-2022:6450
AlmaLinux:8rubygem-net-telnet0.2.0-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:8rubygem-net-telnet0.1.1-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8rubygem-openssl2.1.2-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8rubygem-openssl2.1.3-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:8rubygem-pg1.2.3-1.module_el8.6.0+3167+957ef55eALSA-2022:6447
AlmaLinux:8rubygem-pg1.2.3-1.module_el8.5.0+2595+0c654ebcALSA-2022:6450
AlmaLinux:8rubygem-pg1.2.3-1.module_el8.5.0+118+1ab773e1ALSA-2022:6450
AlmaLinux:8rubygem-pg1.2.3-1.module_el8.6.0+3144+d138acf1ALSA-2022:6450
AlmaLinux:8rubygem-pg1.0.0-3.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8rubygem-pg1.2.3-1.module_el8.5.0+2595+0c654ebcALSA-2022:6447
AlmaLinux:8rubygem-pg1.2.3-1.module_el8.5.0+117+35d1289bALSA-2022:6447
AlmaLinux:8rubygem-pg1.2.3-1.module_el8.4.0+2399+4e3a532aALSA-2022:6447
AlmaLinux:8rubygem-pg-doc1.2.3-1.module_el8.5.0+2595+0c654ebcALSA-2022:6450
AlmaLinux:8rubygem-pg-doc1.2.3-1.module_el8.5.0+2595+0c654ebcALSA-2022:6447
AlmaLinux:8rubygem-pg-doc1.0.0-3.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8rubygem-power_assert1.2.0-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:8rubygem-power_assert1.1.1-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8rubygem-power_assert1.1.7-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:9rubygem-power_assert1.2.0-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-psych3.0.2-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8rubygem-psych3.3.2-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:8rubygem-psych3.1.0-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:9rubygem-psych3.3.2-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-rake13.0.1-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:8rubygem-rake12.3.3-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8rubygem-rake13.0.3-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:9rubygem-rake13.0.3-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-rbs1.4.0-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:9rubygem-rbs1.4.0-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-rdoc6.2.1.1-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:8rubygem-rdoc6.0.1.1-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8rubygem-rdoc6.3.3-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:9rubygem-rdoc6.3.3-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-rexml3.2.5-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:9rubygem-rexml3.2.5-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-rss0.2.9-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:9rubygem-rss0.2.9-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-test-unit3.3.7-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:8rubygem-test-unit3.2.7-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8rubygem-test-unit3.3.4-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:9rubygem-test-unit3.3.7-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-typeprof0.15.2-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:9rubygem-typeprof0.15.2-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygem-xmlrpc0.3.0-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:8rubygem-xmlrpc0.3.0-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8rubygems2.7.6.3-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8rubygems3.2.33-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:8rubygems3.1.6-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:9rubygems3.2.33-160.el9_0ALSA-2022:6585
AlmaLinux:8rubygems-devel2.7.6.3-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux:8rubygems-devel3.1.6-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux:8rubygems-devel3.2.33-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux:9rubygems-devel3.2.33-160.el9_0ALSA-2022:6585
Alpine:v3.20ruby3.1.2-r0ALPINE-CVE-2022-28739
Alpine:v3.21ruby3.1.2-r0ALPINE-CVE-2022-28739
Alpine:v3.22ruby3.1.2-r0ALPINE-CVE-2022-28739
Alpine:v3.23ruby3.1.2-r0ALPINE-CVE-2022-28739
Alpine:v3.24ruby3.1.2-r0ALPINE-CVE-2022-28739
Rocky Linux:8ruby0:2.7.6-138.module+el8.6.0+1001+b5678180RLSA-2022:6447
Rocky Linux:8ruby0:2.6.10-109.module+el8.6.0+988+8031c193RLSA-2022:5338
Rocky Linux:8ruby0:2.5.9-111.module+el8.9.0+1536+5f79634eRLSA-2023:7025
Rocky Linux:8ruby0:3.0.4-141.module+el8.6.0+1002+a7dba0acRLSA-2022:6450
Rocky Linux:9ruby0:3.0.4-160.el9_0RLSA-2022:6585
Rocky Linux:8rubygem-abrt0:0.4.0-1.module+el8.4.0+411+b946f28cRLSA-2022:6450
Rocky Linux:8rubygem-abrt0:0.3.0-4.module+el8.3.0+167+5c390590RLSA-2022:5338
Rocky Linux:8rubygem-abrt0:0.3.0-4.module+el8.5.0+738+032c9c02RLSA-2023:7025
Rocky Linux:8rubygem-abrt0:0.3.0-4.module+el8.9.0+1536+5f79634eRLSA-2023:7025
Rocky Linux:8rubygem-abrt0:0.4.0-1.module+el8.5.0+668+665814faRLSA-2022:6450
Rocky Linux:8rubygem-abrt0:0.4.0-1.module+el8.5.0+668+665814faRLSA-2022:6447
Rocky Linux:8rubygem-abrt0:0.4.0-1.module+el8.4.0+411+b946f28cRLSA-2022:6447
Rocky Linux:8rubygem-abrt0:0.4.0-1.module+el8.4.0+594+11b6673aRLSA-2022:6447
Rocky Linux:8rubygem-abrt0:0.3.0-4.module+el8.4.0+592+03ff458aRLSA-2022:5338
Rocky Linux:8rubygem-abrt0:0.4.0-1.module+el8.4.0+594+11b6673aRLSA-2022:6450
Rocky Linux:8rubygem-abrt0:0.3.0-4.module+el8.5.0+738+032c9c02RLSA-2022:5338
Rocky Linux:8rubygem-bson0:4.8.1-1.module+el8.4.0+594+11b6673aRLSA-2022:6447
Rocky Linux:8rubygem-bson0:4.5.0-1.module+el8.4.0+593+8d7f9f0cRLSA-2022:5338
Rocky Linux:8rubygem-bson0:4.5.0-1.module+el8.4.0+446+80b53620RLSA-2022:5338
Rocky Linux:8rubygem-bson0:4.8.1-1.module+el8.4.0+411+b946f28cRLSA-2022:6447
Rocky Linux:8rubygem-bson0:4.3.0-2.module+el8.9.0+1536+5f79634eRLSA-2023:7025
Rocky Linux:8rubygem-bundler0:1.16.1-4.module+el8.9.0+1536+5f79634eRLSA-2023:7025
Rocky Linux:8rubygem-mongo0:2.11.3-1.module+el8.4.0+411+b946f28cRLSA-2022:6447
Rocky Linux:8rubygem-mongo0:2.8.0-1.module+el8.4.0+593+8d7f9f0cRLSA-2022:5338
Rocky Linux:8rubygem-mongo0:2.8.0-1.module+el8.4.0+446+80b53620RLSA-2022:5338
Rocky Linux:8rubygem-mongo0:2.11.3-1.module+el8.4.0+594+11b6673aRLSA-2022:6447
Rocky Linux:8rubygem-mongo0:2.5.1-2.module+el8.9.0+1536+5f79634eRLSA-2023:7025
Rocky Linux:8rubygem-mysql20:0.5.3-1.module+el8.5.0+668+665814faRLSA-2022:6450
Rocky Linux:8rubygem-mysql20:0.5.3-1.module+el8.4.0+411+b946f28cRLSA-2022:6450
Rocky Linux:8rubygem-mysql20:0.5.3-1.module+el8.4.0+594+11b6673aRLSA-2022:6450
Rocky Linux:8rubygem-mysql20:0.4.10-4.module+el8.9.0+1536+5f79634eRLSA-2023:7025
Rocky Linux:8rubygem-mysql20:0.5.3-1.module+el8.4.0+594+11b6673aRLSA-2022:6447
Rocky Linux:8rubygem-mysql20:0.5.3-1.module+el8.4.0+411+b946f28cRLSA-2022:6447
Rocky Linux:8rubygem-mysql20:0.5.3-1.module+el8.5.0+668+665814faRLSA-2022:6447
Rocky Linux:8rubygem-mysql20:0.5.2-1.module+el8.4.0+593+8d7f9f0cRLSA-2022:5338
Rocky Linux:8rubygem-mysql20:0.5.2-1.module+el8.4.0+446+80b53620RLSA-2022:5338
Rocky Linux:8rubygem-mysql20:0.5.2-1.module+el8.5.0+738+032c9c02RLSA-2022:5338
Rocky Linux:8rubygem-pg0:1.2.3-1.module+el8.5.0+668+665814faRLSA-2022:6447
Rocky Linux:8rubygem-pg0:1.1.4-1.module+el8.5.0+738+032c9c02RLSA-2022:5338
Rocky Linux:8rubygem-pg0:1.2.3-1.module+el8.4.0+594+11b6673aRLSA-2022:6447
Rocky Linux:8rubygem-pg0:1.1.4-1.module+el8.4.0+593+8d7f9f0cRLSA-2022:5338
Rocky Linux:8rubygem-pg0:1.0.0-3.module+el8.9.0+1536+5f79634eRLSA-2023:7025
Rocky Linux:8rubygem-pg0:1.2.3-1.module+el8.5.0+668+665814faRLSA-2022:6450
Rocky Linux:8rubygem-pg0:1.2.3-1.module+el8.4.0+411+b946f28cRLSA-2022:6450
Rocky Linux:8rubygem-pg0:1.2.3-1.module+el8.4.0+594+11b6673aRLSA-2022:6450
Rocky Linux:8rubygem-pg0:1.2.3-1.module+el8.4.0+411+b946f28cRLSA-2022:6447
Rocky Linux:8rubygem-pg0:1.1.4-1.module+el8.4.0+446+80b53620RLSA-2022:5338
Ubuntu:22.04:LTSruby3.03.0.2-7ubuntu2.1USN-5462-1
Ubuntu:22.04:LTSruby3.03.0.2-7ubuntu2.1UBUNTU-CVE-2022-28739

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References