CVSS 3.1
8.1 highCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HHigh (8.1). EPSS 2.4% estimated probability of exploitation activity in the next 30 days. Fixed in tzinfo 0.3.61, 1.2.10.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Htzinfo (RubyGems): fixed in 0.3.61, 1.2.10Explain CVE-2022-31163 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-31163?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-31163?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-31163 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 |
|---|---|
| tzinfo_project:tzinfo | before 0.3.61 |
| tzinfo_project:tzinfo | from 1.0.0 before 1.2.10 |
| debian:debian_linux | 10.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-5cm2-9h8c-rvfx | RubyGems | tzinfo | <0.3.61 | 0.3.61 |
| GHSA-5cm2-9h8c-rvfx | RubyGems | tzinfo | >=1.0.0 <1.2.10 | 1.2.10 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | ruby-tzinfo | 1.2.5-1+deb10u1 | DLA-3077-1 |
| Debian | 11 | ruby-tzinfo | 1.2.6-1+deb11u1 | DLA-3866-1 |
| Debian | 12, 13, 14 | ruby-tzinfo | 2.0.4-2 | DEBIAN-CVE-2022-31163 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 5 more | ruby-tzinfo | no fix listed | UBUNTU-CVE-2022-31163 |
| Red Hat | satellite:6.11::el7 | tfm-rubygem-tzinfo | 0:1.2.10-1.el7sat | RHSA-2022:7242 |
| Red Hat | satellite:6.11::el7, satellite_capsule:6.11::el7 | tfm-rubygem-rack | 0:2.2.3.1-1.el7sat | RHSA-2022:7242 |
| Red Hat | satellite:6.11::el8 | rubygem-tzinfo | 0:1.2.10-1.el8sat | RHSA-2022:7242 |
| Red Hat | satellite:6.11::el8, satellite_capsule:6.11::el8 | rubygem-rack | 0:2.2.3.1-1.el8sat | RHSA-2022:7242 |
| Red Hat | satellite:6.13::el8 | foreman-obsolete-packages | 0:1.1-1.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | postgresql-evr | 0:0.0.2-1.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | python-websockify, python3-websockify | 0:0.10.0-3.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | qpid-dispatch, qpid-dispatch-tools, qpid-dispatch-router and 2 more | 0:1.14.0-6.el8 | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | qpid-proton, qpid-proton-c, python3-qpid-proton and 5 more | 0:0.33.0-4.el8 | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | rubygem-acts_as_list | 0:1.0.3-2.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | rubygem-algebrick, rubygem-websocket-driver, rubygem-websocket-driver-debuginfo and 1 more | 0:0.7.5-1.el8sat | RHSA-2023:2097 |
| Red Hat | satellite:6.13::el8 | rubygem-anemone | 0:0.7.2-23.el8sat | RHSA-2023:2097 |
| 196 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise High Availability Extension 15, Linux Enterprise High Availability Extension 15 SP1, Linux Enterprise High Availability Extension 15 SP2 and 2 more | rubygem-tzinfo | 1.2.4-150000.3.3.1 | SUSE-SU-2022:2592-1 |
| SUSE | OpenStack Cloud Crowbar 8, OpenStack Cloud Crowbar 9 | rubygem-tzinfo | 1.2.2-3.3.1 | SUSE-SU-2022:2765-1 |
| openSUSE | Leap 15.3, Leap 15.4 | rubygem-tzinfo | 1.2.4-150000.3.3.1 | SUSE-SU-2022:2592-1 |
| openSUSE | Tumbleweed | ruby3.2-rubygem-tzinfo-1.2 | 1.2.10-1.4 | openSUSE-SU-2024:13171-1 |
| openSUSE | Tumbleweed | rubygem-tzinfo-1.2 | 1.2.10-1.1 | openSUSE-SU-2024:12249-1 |
| openSUSE | Tumbleweed | rubygem-tzinfo-1.2 | 1.2.11-1.5 | openSUSE-SU-2024:14178-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; 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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Important.
As a workaround, the time zone identifier can be validated before passing to TZInfo::Timezone.get by ensuring it matches the regular expression \A[A-Za-z0-9+\-_]+(?:\/[A-Za-z0-9+\-_]+)*\z.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Gluster Storage 3.5 for RHEL 7 | rubygem-tzinfo-0:1.2.10-1.el7rhgs | Fixed 2023-03-28 | RHSA-2023:1486 |
| Red Hat Satellite 6.11 for RHEL 7 | tfm-rubygem-tzinfo-0:1.2.10-1.el7sat | Fixed 2022-10-27 | RHSA-2022:7242 |
| Red Hat Satellite 6.11 for RHEL 8 | rubygem-tzinfo-0:1.2.10-1.el8sat | Fixed 2022-10-27 | RHSA-2022:7242 |
| Red Hat Satellite 6.13 for RHEL 8 | rubygem-tzinfo-0:2.0.5-1.el8sat | Fixed 2023-05-03 | RHSA-2023:2097 |
| Red Hat OpenShift Container Platform 3.11 | rubygem-tzinfo | Affected | |
| Red Hat OpenStack Platform 13 (Queens) Operational Tools | rubygem-tzinfo | Will not fix |
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-31163.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.