CVE-2022-31163 — Vulnerability in tzinfo — CVE Details
TZInfo relative path traversal vulnerability allows loading of arbitrary files
Summary
Advisory Timeline
- First published July 21, 2022 (1544 days ago).
- Last revised November 8, 2023 — 474 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install tzinfo -v 0.3.61
gem install tzinfo -v 1.2.10
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: rubygems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
- CWE-23
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/tzinfo/tzinfo/security/advisories/GHSA-5cm2-9h8c-rvfxWEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31163ADVISORY
- https://github.com/tzinfo/tzinfo/commit/9905ca93abf7bf3e387bd592406e403cd18334c7WEB
- https://github.com/tzinfo/tzinfo/commit/9eddbb5c0e682736f61d0dd803b6031a5db9eadfWEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/tzinfo/CVE-2022-31163.ymlWEB
- https://github.com/tzinfo/tzinfoPACKAGE
- https://github.com/tzinfo/tzinfo/releases/tag/v0.3.61WEB
- https://github.com/tzinfo/tzinfo/releases/tag/v1.2.10WEB
- https://lists.debian.org/debian-lts-announce/2022/08/msg00009.htmlWEB
Frequently Asked Questions
- What is CVE-2022-31163?
- TZInfo relative path traversal vulnerability allows loading of arbitrary files This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2022-31163?
- CVE-2022-31163 affects tzinfo. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-31163 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-94462HIGH
Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
- CVE-2026-77601HIGH
OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies