Approved changes feed: RSS · Atom

cpe:2.3:a:tzinfo_project:tzinfo:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorTzinfo Project (b1b2daf8-8cfc-5819-b418-6cc0582a3bab)
ProductTzinfo (a2e26970-3b6b-5842-83eb-696d2feaaf1c)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/ruby-tzinfo purl2cpe 2026-06-01 10:11:16.663011
pkg:deb/ubuntu/ruby-tzinfo purl2cpe 2026-06-01 10:11:16.663013
pkg:gem/tzinfo purl2cpe 2026-06-01 10:11:16.663014
pkg:github/tzinfo/tzinfo purl2cpe 2026-06-01 10:11:16.663016
pkg:rpm/fedora/rubygem-tzinfo purl2cpe 2026-06-01 10:11:16.663017
pkg:rpm/opensuse/rubygem-tzinfo purl2cpe 2026-06-01 10:11:16.663018

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2022-31163 vulnerable 2026-06-08 05:43:40.316988 TZInfo relative path traversal vulnerability allows loading of arbitrary files
HIGH (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 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, `TZInfo::Timezone.get` fails to validate time zone identifiers correctly, allowing a new line character within the identifier. With Ruby version 1.9.3 and later, `TZInfo::Timezone.get` can be made to load unintended files with `require`, executing them within the Ruby process. Versions 0.3.61 and 1.2.10 include fixes to correctly validate time zone identifiers. Versions 2.0.0 and later are not vulnerable. Version 0.3.61 can still load arbitrary files from the Ruby load path if their name follows the rules for a valid time zone identifier and the file has a prefix of `tzinfo/definition` within a directory in the load path. Applications should ensure that untrusted files are not placed in a directory on the load path. 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`.
Published: 2022-07-21T13:30:16.000Z
Updated: 2024-09-05T14:09:42.030Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.