suse-su-2022:2765-1
Vulnerability from csaf_suse
Published
2022-08-10 12:52
Modified
2022-08-10 12:52
Summary
Security update for rubygem-tzinfo

Notes

Title of the patch
Security update for rubygem-tzinfo
Description of the patch
This update for rubygem-tzinfo fixes the following issues: - CVE-2022-31163: Fixed relative path traversal vulnerability that allows TZInfo::Timezone.get to load arbitrary files (bsc#1201835).
Patchnames
SUSE-2022-2765,SUSE-OpenStack-Cloud-Crowbar-8-2022-2765,SUSE-OpenStack-Cloud-Crowbar-9-2022-2765
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).



{
  "document": {
    "aggregate_severity": {
      "namespace": "https://www.suse.com/support/security/rating/",
      "text": "important"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright 2024 SUSE LLC. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Security update for rubygem-tzinfo",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for rubygem-tzinfo fixes the following issues:\n\n- CVE-2022-31163: Fixed relative path traversal vulnerability that allows TZInfo::Timezone.get to load arbitrary files (bsc#1201835).\n",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "SUSE-2022-2765,SUSE-OpenStack-Cloud-Crowbar-8-2022-2765,SUSE-OpenStack-Cloud-Crowbar-9-2022-2765",
        "title": "Patchnames"
      },
      {
        "category": "legal_disclaimer",
        "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
        "title": "Terms of use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://www.suse.com/support/security/contact/",
      "name": "SUSE Product Security Team",
      "namespace": "https://www.suse.com/"
    },
    "references": [
      {
        "category": "external",
        "summary": "SUSE ratings",
        "url": "https://www.suse.com/support/security/rating/"
      },
      {
        "category": "self",
        "summary": "URL of this CSAF notice",
        "url": "https://ftp.suse.com/pub/projects/security/csaf/suse-su-2022_2765-1.json"
      },
      {
        "category": "self",
        "summary": "URL for SUSE-SU-2022:2765-1",
        "url": "https://www.suse.com/support/update/announcement/2022/suse-su-20222765-1/"
      },
      {
        "category": "self",
        "summary": "E-Mail link for SUSE-SU-2022:2765-1",
        "url": "https://lists.suse.com/pipermail/sle-security-updates/2022-August/011880.html"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1201835",
        "url": "https://bugzilla.suse.com/1201835"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2022-31163 page",
        "url": "https://www.suse.com/security/cve/CVE-2022-31163/"
      }
    ],
    "title": "Security update for rubygem-tzinfo",
    "tracking": {
      "current_release_date": "2022-08-10T12:52:21Z",
      "generator": {
        "date": "2022-08-10T12:52:21Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "SUSE-SU-2022:2765-1",
      "initial_release_date": "2022-08-10T12:52:21Z",
      "revision_history": [
        {
          "date": "2022-08-10T12:52:21Z",
          "number": "1",
          "summary": "Current version"
        }
      ],
      "status": "final",
      "version": "1"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.aarch64",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.aarch64",
                  "product_id": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.aarch64"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.aarch64",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.aarch64",
                  "product_id": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.aarch64"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.aarch64",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.aarch64",
                  "product_id": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.aarch64"
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.i586",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.i586",
                  "product_id": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.i586"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.i586",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.i586",
                  "product_id": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.i586"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.i586",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.i586",
                  "product_id": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.i586"
                }
              }
            ],
            "category": "architecture",
            "name": "i586"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.ppc64le",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.ppc64le",
                  "product_id": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.ppc64le"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.ppc64le",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.ppc64le",
                  "product_id": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.ppc64le"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.ppc64le",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.ppc64le",
                  "product_id": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.ppc64le"
                }
              }
            ],
            "category": "architecture",
            "name": "ppc64le"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.s390",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.s390",
                  "product_id": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.s390"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.s390",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.s390",
                  "product_id": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.s390"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.s390",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.s390",
                  "product_id": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.s390"
                }
              }
            ],
            "category": "architecture",
            "name": "s390"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.s390x",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.s390x",
                  "product_id": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.s390x"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.s390x",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.s390x",
                  "product_id": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.s390x"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.s390x",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.s390x",
                  "product_id": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.s390x"
                }
              }
            ],
            "category": "architecture",
            "name": "s390x"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.x86_64",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.x86_64",
                  "product_id": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.x86_64"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.x86_64",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.x86_64",
                  "product_id": "ruby2.1-rubygem-tzinfo-doc-1.2.2-3.3.1.x86_64"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.x86_64",
                "product": {
                  "name": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.x86_64",
                  "product_id": "ruby2.1-rubygem-tzinfo-testsuite-1.2.2-3.3.1.x86_64"
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "SUSE OpenStack Cloud Crowbar 8",
                "product": {
                  "name": "SUSE OpenStack Cloud Crowbar 8",
                  "product_id": "SUSE OpenStack Cloud Crowbar 8",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:suse-openstack-cloud-crowbar:8"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE OpenStack Cloud Crowbar 9",
                "product": {
                  "name": "SUSE OpenStack Cloud Crowbar 9",
                  "product_id": "SUSE OpenStack Cloud Crowbar 9",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:suse-openstack-cloud-crowbar:9"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.x86_64 as component of SUSE OpenStack Cloud Crowbar 8",
          "product_id": "SUSE OpenStack Cloud Crowbar 8:ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.x86_64"
        },
        "product_reference": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.x86_64",
        "relates_to_product_reference": "SUSE OpenStack Cloud Crowbar 8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.x86_64 as component of SUSE OpenStack Cloud Crowbar 9",
          "product_id": "SUSE OpenStack Cloud Crowbar 9:ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.x86_64"
        },
        "product_reference": "ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.x86_64",
        "relates_to_product_reference": "SUSE OpenStack Cloud Crowbar 9"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2022-31163",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2022-31163"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "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`.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "SUSE OpenStack Cloud Crowbar 8:ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.x86_64",
          "SUSE OpenStack Cloud Crowbar 9:ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2022-31163",
          "url": "https://www.suse.com/security/cve/CVE-2022-31163"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1201835 for CVE-2022-31163",
          "url": "https://bugzilla.suse.com/1201835"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "SUSE OpenStack Cloud Crowbar 8:ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.x86_64",
            "SUSE OpenStack Cloud Crowbar 9:ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "SUSE OpenStack Cloud Crowbar 8:ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.x86_64",
            "SUSE OpenStack Cloud Crowbar 9:ruby2.1-rubygem-tzinfo-1.2.2-3.3.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2022-08-10T12:52:21Z",
          "details": "important"
        }
      ],
      "title": "CVE-2022-31163"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…