{"id":"USN-9342-1","summary":"ruby-tzinfo vulnerability","details":"It was discovered that TZInfo did not properly validate time zone\nidentifiers, leading to a path traversal vulnerability. When TZInfo was\nused with the Ruby data source, an attacker could possibly use this issue\nto load unintended files and execute arbitrary code.","modified":"2026-12-02T02:29:22.333053850Z","published":"2026-12-01T17:22:12Z","related":["UBUNTU-CVE-2022-31163"],"upstream":["CVE-2022-31163","UBUNTU-CVE-2022-31163"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9342-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-31163"}],"affected":[{"package":{"name":"ruby-tzinfo","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-tzinfo?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2-1ubuntu0.1~esm1"}]}],"versions":["1.2.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-tzinfo","binary_version":"1.2.2-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"id":"CVE-2022-31163","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CNA"},{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9342-1.json"}},{"package":{"name":"ruby-tzinfo","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-tzinfo?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-1ubuntu0.1~esm1"}]}],"versions":["1.2.2-2","1.2.3-1","1.2.5-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-tzinfo","binary_version":"1.2.5-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2022-31163","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CNA"},{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9342-1.json"}},{"package":{"name":"ruby-tzinfo","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-tzinfo?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.6-1ubuntu0.1~esm1"}]}],"versions":["1.2.5-1","1.2.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-tzinfo","binary_version":"1.2.6-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9342-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CNA"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},{"score":"medium","source":"SELF","type":"Ubuntu"}],"id":"CVE-2022-31163"}],"ecosystem":"Ubuntu:Pro:20.04:LTS"}}}],"schema_version":"1.9.2"}