Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-31163: TZInfo is a Ruby library that provides access to time zone data and allows times to be converted using time zo

57
This month
HIGH 7.5WATCHLISTUPGRADEMITIGATE

CVE-2022-31163 is a high-severity flaw (CVSS 7.5) affecting tzinfo, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

TZInfo is a Ruby library that provides access to time zone data and allows times to be converted using time zone rules. Versions prior to 0.36.1, as well as those prior to 1.2.10 when used with the Ruby data source tzinfo-data, are vulnerable to relative path traversal. With the Ruby data source, time zones are defined in Ruby files. There is one file per time zone. Time zone files are loaded with `require` on demand. In the affected versions, `T

Why this priority

  • High severity
  • Public exploit reference
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score7.5 (High)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionRequired
EPSS exploit chance2.4% (top 16%)
CISA exploited listNo
WeaknessCWE-22, CWE-23
Published2022-07-22
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: debian · tzinfo project

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

tzinfo project tzinfo UPGRADE
Affected: < 0.3.61 · >= 1.0.0 and < 1.2.10
Fixed in: 0.3.61, 1.2.10
Safe to downgrade to: a release before 1.0.0
1. Check installed version
apt-cache policy tzinfo || rpm -q tzinfo || tzinfo --version
2. UPGRADE to 0.3.61 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade tzinfo
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade tzinfo
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 1.0.0 (Debian / Ubuntu)
apt-cache madison tzinfo sudo apt install tzinfo=<VERSION_BEFORE_1.0.0> sudo apt-mark hold tzinfo
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list tzinfo sudo dnf downgrade tzinfo-<VERSION_BEFORE_1.0.0> sudo dnf versionlock add tzinfo
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
debian debian linux MITIGATE
Affected: 10.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 10.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2022-31163?

tzinfo: upgrade to 0.3.61, 1.2.10; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2022-31163 being exploited?

CVE-2022-31163 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2022-31163 affect?

CVE-2022-31163 affects tzinfo, debian linux. Severity is high (CVSS 7.5). TZInfo is a Ruby library that provides access to time zone data and allows times to be converted using time zone rules. Versions prior to 0.36.1, as well as those prior to 1.2.10 when used with the Ruby data source tzinfo-data, are vulnerab

How urgent is CVE-2022-31163?

Priority 57/100. High severity; Public exploit reference; On your watchlist

Software pages

Debian vulnerabilities · Ruby vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.