CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8) in ruby-lang ruby. EPSS 3.1% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2022-28738 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-28738?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-28738?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-28738 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| ruby-lang:ruby | from 3.0.0 before 3.0.4 |
| ruby-lang:ruby | from 3.1.0 before 3.1.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 18.04:LTS | ruby2.5 | 2.5.1-1ubuntu1.12 | USN-5462-1 |
| Ubuntu | 20.04:LTS | ruby2.7 | 2.7.0-5ubuntu1.7 | USN-5462-1 |
| Ubuntu | 22.04:LTS | ruby3.0 | 3.0.2-7ubuntu2.1 | UBUNTU-CVE-2022-28738 USN-5462-1 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 5 more | 0:3.0.4-141.module+el8.6.0+16311+3e5e17e9 | RHSA-2022:6450 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.5.0+11580+845038eb | RHSA-2022:6450 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.0.0-141.module+el8.6.0+16311+3e5e17e9 | RHSA-2022:6450 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bundler | 0:2.2.33-141.module+el8.6.0+16311+3e5e17e9 | RHSA-2022:6450 |
| Red Hat | enterprise_linux:8::appstream | rubygem-io-console, rubygem-io-console-debuginfo | 0:0.5.7-141.module+el8.6.0+16311+3e5e17e9 | RHSA-2022:6450 |
| Red Hat | enterprise_linux:8::appstream | rubygem-irb | 0:1.3.5-141.module+el8.6.0+16311+3e5e17e9 | RHSA-2022:6450 |
| Red Hat | enterprise_linux:8::appstream | rubygem-json, rubygem-json-debuginfo | 0:2.5.1-141.module+el8.6.0+16311+3e5e17e9 | RHSA-2022:6450 |
| Red Hat | enterprise_linux:8::appstream | rubygem-minitest | 0:5.14.2-141.module+el8.6.0+16311+3e5e17e9 | RHSA-2022:6450 |
| Red Hat | enterprise_linux:8::appstream | rubygem-mysql2, rubygem-mysql2-doc, rubygem-mysql2-debuginfo and 1 more | 0:0.5.3-1.module+el8.5.0+11580+845038eb | RHSA-2022:6450 |
| Red Hat | enterprise_linux:8::appstream | rubygem-pg, rubygem-pg-doc, rubygem-pg-debuginfo and 1 more | 0:1.2.3-1.module+el8.5.0+11580+845038eb | RHSA-2022:6450 |
| Red Hat | enterprise_linux:8::appstream | rubygem-power_assert | 0:1.2.0-141.module+el8.6.0+16311+3e5e17e9 | RHSA-2022:6450 |
| Red Hat | enterprise_linux:8::appstream | rubygem-psych, rubygem-psych-debuginfo | 0:3.3.2-141.module+el8.6.0+16311+3e5e17e9 | RHSA-2022:6450 |
| 42 more for Red Hat in the JSON and on Red Hat's page. | ||||
| openSUSE | Tumbleweed | ruby3.1 | 3.1.2-1.1 | openSUSE-SU-2024:12006-1 |
| openSUSE | Tumbleweed | ruby3.2 | 3.2.1-1.1 | openSUSE-SU-2024:12712-1 |
| openSUSE | Tumbleweed | ruby3.3 | 3.3.0-1.2 | openSUSE-SU-2024:13623-1 |
| openSUSE | Tumbleweed | ruby3.4 | 3.4.1-1.1 | openSUSE-SU-2025:14621-1 |
| openSUSE | Tumbleweed | ruby4.0 | 4.0.0~preview2-1.1 | openSUSE-SU-2025:15819-1 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 2 more | 3.0.4-141.module_el8.6.0+3263+41cde0c0 | ALSA-2022:6450 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.5.0+2595+0c654ebc | ALSA-2022:6450 |
| AlmaLinux | 8 | rubygem-bigdecimal | 3.0.0-141.module_el8.6.0+3263+41cde0c0 | ALSA-2022:6450 |
| AlmaLinux | 8 | rubygem-bundler | 2.2.33-141.module_el8.6.0+3263+41cde0c0 | ALSA-2022:6450 |
| AlmaLinux | 8 | rubygem-io-console | 0.5.7-141.module_el8.6.0+3263+41cde0c0 | ALSA-2022:6450 |
| AlmaLinux | 8 | rubygem-irb | 1.3.5-141.module_el8.6.0+3263+41cde0c0 | ALSA-2022:6450 |
| AlmaLinux | 8 | rubygem-json | 2.5.1-141.module_el8.6.0+3263+41cde0c0 | ALSA-2022:6450 |
| AlmaLinux | 8 | rubygem-minitest | 5.14.2-141.module_el8.6.0+3263+41cde0c0 | ALSA-2022:6450 |
| AlmaLinux | 8 | rubygem-mysql2 | 0.5.3-1.module_el8.5.0+118+1ab773e1 | ALSA-2022:6450 |
| AlmaLinux | 8 | rubygem-mysql2 | 0.5.3-1.module_el8.6.0+3144+d138acf1 | ALSA-2022:6450 |
| AlmaLinux | 8 | rubygem-mysql2, rubygem-mysql2-doc | 0.5.3-1.module_el8.5.0+2595+0c654ebc | ALSA-2022:6450 |
| AlmaLinux | 8 | rubygem-pg | 1.2.3-1.module_el8.5.0+118+1ab773e1 | ALSA-2022:6450 |
| 29 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | ruby | 0:3.0.4-141.module+el8.6.0+1002+a7dba0ac | RLSA-2022:6450 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.4.0+411+b946f28c | RLSA-2022:6450 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.4.0+594+11b6673a | RLSA-2022:6450 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.5.0+668+665814fa | RLSA-2022:6450 |
| Rocky Linux | 8 | rubygem-mysql2 | 0:0.5.3-1.module+el8.4.0+411+b946f28c | RLSA-2022:6450 |
| Rocky Linux | 8 | rubygem-mysql2 | 0:0.5.3-1.module+el8.4.0+594+11b6673a | RLSA-2022:6450 |
| Rocky Linux | 8 | rubygem-mysql2 | 0:0.5.3-1.module+el8.5.0+668+665814fa | RLSA-2022:6450 |
| Rocky Linux | 8 | rubygem-pg | 0:1.2.3-1.module+el8.4.0+411+b946f28c | RLSA-2022:6450 |
| Rocky Linux | 8 | rubygem-pg | 0:1.2.3-1.module+el8.4.0+594+11b6673a | RLSA-2022:6450 |
| Rocky Linux | 8 | rubygem-pg | 0:1.2.3-1.module+el8.5.0+668+665814fa | RLSA-2022:6450 |
| Rocky Linux | 9 | ruby | 0:3.0.4-160.el9_0 | RLSA-2022:6585 |
| Alpine | v3.15 | ruby | 3.0.4-r0 | ALPINE-CVE-2022-28738 |
| Alpine | v3.16, v3.17, v3.18 and 6 more | ruby | 3.1.2-r0 | ALPINE-CVE-2022-28738 |
From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · openSUSE · Alpine.
Red Hat rates this Moderate.
Ruby 2.6 series and 2.7 series are not affected.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | ruby:3.0-8060020220810162001.ad008a3a | Fixed 2022-09-13 | RHSA-2022:6450 |
| Red Hat Enterprise Linux 9 | ruby-0:3.0.4-160.el9_0 | Fixed 2022-09-20 | RHSA-2022:6585 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby30-ruby-0:3.0.4-149.el7 | Fixed 2022-10-11 | RHSA-2022:6855 |
| Red Hat Enterprise Linux 6 | ruby | Not affected | |
| Red Hat Enterprise Linux 7 | ruby | Not affected | |
| Red Hat Enterprise Linux 8 | ruby:2.5/ruby | Not affected | |
| Red Hat Enterprise Linux 8 | ruby:2.6/ruby | Not affected | |
| Red Hat Enterprise Linux 8 | ruby:2.7/ruby | Not affected | |
| Red Hat Software Collections | rh-ruby27-ruby | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-28738.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-24-046-11 | Siemens SCALANCE XCM-/XRM-300 | 2024-02-13 | Multiple | SCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 more | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.