<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Security update for ruby2.5</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2020:0586-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2020-05-01T18:26:35Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2020-05-01T18:26:35Z</InitialReleaseDate>
    <CurrentReleaseDate>2020-05-01T18:26:35Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for ruby2.5</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for ruby2.5 to version 2.5.8 fixes the following issues:

- CVE-2020-10663: Unsafe Object Creation Vulnerability in JSON (bsc#1167244).
- CVE-2020-10933: Heap exposure vulnerability in the socket library (bsc#1168938).

This update was imported from the SUSE:SLE-15:Update update project.</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">openSUSE-2020-586</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/777ZS5BJ5P7BY4TIIFV3VJR5I63NA7ZT/</URL>
      <Description>E-Mail link for openSUSE-SU-2020:0586-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1167244</URL>
      <Description>SUSE Bug 1167244</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1168938</URL>
      <Description>SUSE Bug 1168938</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2020-10663/</URL>
      <Description>SUSE CVE CVE-2020-10663 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2020-10933/</URL>
      <Description>SUSE CVE CVE-2020-10933 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 15.1">
      <Branch Type="Product Name" Name="openSUSE Leap 15.1">
        <FullProductName ProductID="openSUSE Leap 15.1" CPE="cpe:/o:opensuse:leap:15.1">openSUSE Leap 15.1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libruby2_5-2_5-2.5.8-lp151.4.9.1">
      <FullProductName ProductID="libruby2_5-2_5-2.5.8-lp151.4.9.1">libruby2_5-2_5-2.5.8-lp151.4.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.5-2.5.8-lp151.4.9.1">
      <FullProductName ProductID="ruby2.5-2.5.8-lp151.4.9.1">ruby2.5-2.5.8-lp151.4.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.5-devel-2.5.8-lp151.4.9.1">
      <FullProductName ProductID="ruby2.5-devel-2.5.8-lp151.4.9.1">ruby2.5-devel-2.5.8-lp151.4.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.5-devel-extra-2.5.8-lp151.4.9.1">
      <FullProductName ProductID="ruby2.5-devel-extra-2.5.8-lp151.4.9.1">ruby2.5-devel-extra-2.5.8-lp151.4.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.5-doc-2.5.8-lp151.4.9.1">
      <FullProductName ProductID="ruby2.5-doc-2.5.8-lp151.4.9.1">ruby2.5-doc-2.5.8-lp151.4.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.5-doc-ri-2.5.8-lp151.4.9.1">
      <FullProductName ProductID="ruby2.5-doc-ri-2.5.8-lp151.4.9.1">ruby2.5-doc-ri-2.5.8-lp151.4.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.5-stdlib-2.5.8-lp151.4.9.1">
      <FullProductName ProductID="ruby2.5-stdlib-2.5.8-lp151.4.9.1">ruby2.5-stdlib-2.5.8-lp151.4.9.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libruby2_5-2_5-2.5.8-lp151.4.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:libruby2_5-2_5-2.5.8-lp151.4.9.1">libruby2_5-2_5-2.5.8-lp151.4.9.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.5-2.5.8-lp151.4.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:ruby2.5-2.5.8-lp151.4.9.1">ruby2.5-2.5.8-lp151.4.9.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.5-devel-2.5.8-lp151.4.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:ruby2.5-devel-2.5.8-lp151.4.9.1">ruby2.5-devel-2.5.8-lp151.4.9.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.5-devel-extra-2.5.8-lp151.4.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:ruby2.5-devel-extra-2.5.8-lp151.4.9.1">ruby2.5-devel-extra-2.5.8-lp151.4.9.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.5-doc-2.5.8-lp151.4.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:ruby2.5-doc-2.5.8-lp151.4.9.1">ruby2.5-doc-2.5.8-lp151.4.9.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.5-doc-ri-2.5.8-lp151.4.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:ruby2.5-doc-ri-2.5.8-lp151.4.9.1">ruby2.5-doc-ri-2.5.8-lp151.4.9.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.5-stdlib-2.5.8-lp151.4.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:ruby2.5-stdlib-2.5.8-lp151.4.9.1">ruby2.5-stdlib-2.5.8-lp151.4.9.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The JSON gem through 2.2.0 for Ruby, as used in Ruby 2.4 through 2.4.9, 2.5 through 2.5.7, and 2.6 through 2.6.5, has an Unsafe Object Creation Vulnerability. This is quite similar to CVE-2013-0269, but does not rely on poor garbage-collection behavior within Ruby. Specifically, use of JSON parsing methods can lead to creation of a malicious object within the interpreter, with adverse effects that are application-dependent.</Note>
    </Notes>
    <CVE>CVE-2020-10663</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.1:libruby2_5-2_5-2.5.8-lp151.4.9.1</ProductID>
        <ProductID>openSUSE Leap 15.1:ruby2.5-2.5.8-lp151.4.9.1</ProductID>
        <ProductID>openSUSE Leap 15.1:ruby2.5-devel-2.5.8-lp151.4.9.1</ProductID>
        <ProductID>openSUSE Leap 15.1:ruby2.5-devel-extra-2.5.8-lp151.4.9.1</ProductID>
        <ProductID>openSUSE Leap 15.1:ruby2.5-doc-2.5.8-lp151.4.9.1</ProductID>
        <ProductID>openSUSE Leap 15.1:ruby2.5-doc-ri-2.5.8-lp151.4.9.1</ProductID>
        <ProductID>openSUSE Leap 15.1:ruby2.5-stdlib-2.5.8-lp151.4.9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>5</BaseScore>
        <Vector>AV:N/AC:L/Au:N/C:N/I:P/A:N</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/777ZS5BJ5P7BY4TIIFV3VJR5I63NA7ZT/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2020-10663.html</URL>
        <Description>CVE-2020-10663</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1167244</URL>
        <Description>SUSE Bug 1167244</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1171517</URL>
        <Description>SUSE Bug 1171517</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">An issue was discovered in Ruby 2.5.x through 2.5.7, 2.6.x through 2.6.5, and 2.7.0. If a victim calls BasicSocket#read_nonblock(requested_size, buffer, exception: false), the method resizes the buffer to fit the requested size, but no data is copied. Thus, the buffer string provides the previous value of the heap. This may expose possibly sensitive data from the interpreter.</Note>
    </Notes>
    <CVE>CVE-2020-10933</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.1:libruby2_5-2_5-2.5.8-lp151.4.9.1</ProductID>
        <ProductID>openSUSE Leap 15.1:ruby2.5-2.5.8-lp151.4.9.1</ProductID>
        <ProductID>openSUSE Leap 15.1:ruby2.5-devel-2.5.8-lp151.4.9.1</ProductID>
        <ProductID>openSUSE Leap 15.1:ruby2.5-devel-extra-2.5.8-lp151.4.9.1</ProductID>
        <ProductID>openSUSE Leap 15.1:ruby2.5-doc-2.5.8-lp151.4.9.1</ProductID>
        <ProductID>openSUSE Leap 15.1:ruby2.5-doc-ri-2.5.8-lp151.4.9.1</ProductID>
        <ProductID>openSUSE Leap 15.1:ruby2.5-stdlib-2.5.8-lp151.4.9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>5</BaseScore>
        <Vector>AV:N/AC:L/Au:N/C:P/I:N/A:N</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/777ZS5BJ5P7BY4TIIFV3VJR5I63NA7ZT/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2020-10933.html</URL>
        <Description>CVE-2020-10933</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1168938</URL>
        <Description>SUSE Bug 1168938</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
