<?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 ruby</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2022:15034-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2022-09-06T11:58:31Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2022-09-06T11:58:31Z</InitialReleaseDate>
    <CurrentReleaseDate>2022-09-06T11:58:31Z</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 ruby</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for ruby fixes the following issues:

- CVE-2018-16395: Fixed an issue where two x509 certificates could be
  considered to be equal when this was not the case (bsc#1112530).
- CVE-2021-32066: Fixed an issue where the IMAP client API would not
  report a failure when StartTLS failed, leading to potential man in
  the middle attacks (bsc#1188160).
- CVE-2021-31810: Fixed an issue where the FTP client API would trust
  certain responses from a malicious server, tricking the client into
  connecting to addresses not (bsc#1188161).
</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">slewyst13-ruby-15034</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://www.suse.com/support/update/announcement/2022/suse-su-202215034-1/</URL>
      <Description>Link for SUSE-SU-2022:15034-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2022-September/012115.html</URL>
      <Description>E-Mail link for SUSE-SU-2022:15034-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/1112530</URL>
      <Description>SUSE Bug 1112530</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1188160</URL>
      <Description>SUSE Bug 1188160</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1188161</URL>
      <Description>SUSE Bug 1188161</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-16395/</URL>
      <Description>SUSE CVE CVE-2018-16395 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-31810/</URL>
      <Description>SUSE CVE CVE-2021-31810 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-32066/</URL>
      <Description>SUSE CVE CVE-2021-32066 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-81810/</URL>
      <Description>SUSE CVE CVE-2021-81810 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE WebYast 1.3">
      <Branch Type="Product Name" Name="SUSE WebYast 1.3">
        <FullProductName ProductID="SUSE WebYast 1.3" CPE="cpe:/o:suse:webyast:1.3">SUSE WebYast 1.3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="ruby-devel-1.8.7.p357-0.9.20.3.1">
      <FullProductName ProductID="ruby-devel-1.8.7.p357-0.9.20.3.1">ruby-devel-1.8.7.p357-0.9.20.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="ruby-devel-1.8.7.p357-0.9.20.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE WebYast 1.3">
      <FullProductName ProductID="SUSE WebYast 1.3:ruby-devel-1.8.7.p357-0.9.20.3.1">ruby-devel-1.8.7.p357-0.9.20.3.1 as a component of SUSE WebYast 1.3</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">An issue was discovered in the OpenSSL library in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3. When two OpenSSL::X509::Name objects are compared using ==, depending on the ordering, non-equal objects may return true. When the first argument is one character longer than the second, or the second argument contains a character that is one less than a character in the same position of the first argument, the result of == will be true. This could be leveraged to create an illegitimate certificate that may be accepted as legitimate and then used in signing or encryption operations.</Note>
    </Notes>
    <CVE>CVE-2018-16395</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE WebYast 1.3:ruby-devel-1.8.7.p357-0.9.20.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <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://www.suse.com/support/update/announcement/2022/suse-su-202215034-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-16395.html</URL>
        <Description>CVE-2018-16395</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1112530</URL>
        <Description>SUSE Bug 1112530</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1136906</URL>
        <Description>SUSE Bug 1136906</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 through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. A malicious FTP server can use the PASV response to trick Net::FTP into connecting back to a given IP address and port. This potentially makes curl extract information about services that are otherwise private and not disclosed (e.g., the attacker can conduct port scans and service banner extractions).</Note>
    </Notes>
    <CVE>CVE-2021-31810</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE WebYast 1.3:ruby-devel-1.8.7.p357-0.9.20.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <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://www.suse.com/support/update/announcement/2022/suse-su-202215034-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-31810.html</URL>
        <Description>CVE-2021-31810</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1188161</URL>
        <Description>SUSE Bug 1188161</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1193383</URL>
        <Description>SUSE Bug 1193383</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1205053</URL>
        <Description>SUSE Bug 1205053</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. Net::IMAP does not raise an exception when StartTLS fails with an an unknown response, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a "StartTLS stripping attack."</Note>
    </Notes>
    <CVE>CVE-2021-32066</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE WebYast 1.3:ruby-devel-1.8.7.p357-0.9.20.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <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://www.suse.com/support/update/announcement/2022/suse-su-202215034-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-32066.html</URL>
        <Description>CVE-2021-32066</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1188160</URL>
        <Description>SUSE Bug 1188160</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1196771</URL>
        <Description>SUSE Bug 1196771</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1205053</URL>
        <Description>SUSE Bug 1205053</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="4">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">unknown</Note>
    </Notes>
    <CVE>CVE-2021-81810</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE WebYast 1.3:ruby-devel-1.8.7.p357-0.9.20.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <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://www.suse.com/support/update/announcement/2022/suse-su-202215034-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-81810.html</URL>
        <Description>CVE-2021-81810</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
