<?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-2021:1535-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2021-12-06T12:33:07Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2021-12-06T12:33:07Z</InitialReleaseDate>
    <CurrentReleaseDate>2021-12-06T12:33:07Z</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 fixes the following issues:

- CVE-2021-31799: Fixed Command injection vulnerability in RDoc (bsc#1190375).
- CVE-2021-31810: Fixed trusting FTP PASV responses vulnerability in Net:FTP (bsc#1188161).
- CVE-2021-32066: Fixed StartTLS stripping vulnerability in Net:IMAP (bsc#1188160).

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-2021-1535</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/SFO6LZPCK3BJ6OA3FTD3UWQI47BKDQBA/</URL>
      <Description>E-Mail link for openSUSE-SU-2021:1535-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/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://bugzilla.suse.com/1190375</URL>
      <Description>SUSE Bug 1190375</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-31799/</URL>
      <Description>SUSE CVE CVE-2021-31799 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>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 15.2">
      <Branch Type="Product Name" Name="openSUSE Leap 15.2">
        <FullProductName ProductID="openSUSE Leap 15.2" CPE="cpe:/o:opensuse:leap:15.2">openSUSE Leap 15.2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libruby2_5-2_5-2.5.9-lp152.2.9.1">
      <FullProductName ProductID="libruby2_5-2_5-2.5.9-lp152.2.9.1">libruby2_5-2_5-2.5.9-lp152.2.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.5-2.5.9-lp152.2.9.1">
      <FullProductName ProductID="ruby2.5-2.5.9-lp152.2.9.1">ruby2.5-2.5.9-lp152.2.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.5-devel-2.5.9-lp152.2.9.1">
      <FullProductName ProductID="ruby2.5-devel-2.5.9-lp152.2.9.1">ruby2.5-devel-2.5.9-lp152.2.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.5-devel-extra-2.5.9-lp152.2.9.1">
      <FullProductName ProductID="ruby2.5-devel-extra-2.5.9-lp152.2.9.1">ruby2.5-devel-extra-2.5.9-lp152.2.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.5-doc-2.5.9-lp152.2.9.1">
      <FullProductName ProductID="ruby2.5-doc-2.5.9-lp152.2.9.1">ruby2.5-doc-2.5.9-lp152.2.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.5-doc-ri-2.5.9-lp152.2.9.1">
      <FullProductName ProductID="ruby2.5-doc-ri-2.5.9-lp152.2.9.1">ruby2.5-doc-ri-2.5.9-lp152.2.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.5-stdlib-2.5.9-lp152.2.9.1">
      <FullProductName ProductID="ruby2.5-stdlib-2.5.9-lp152.2.9.1">ruby2.5-stdlib-2.5.9-lp152.2.9.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libruby2_5-2_5-2.5.9-lp152.2.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:libruby2_5-2_5-2.5.9-lp152.2.9.1">libruby2_5-2_5-2.5.9-lp152.2.9.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.5-2.5.9-lp152.2.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:ruby2.5-2.5.9-lp152.2.9.1">ruby2.5-2.5.9-lp152.2.9.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.5-devel-2.5.9-lp152.2.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:ruby2.5-devel-2.5.9-lp152.2.9.1">ruby2.5-devel-2.5.9-lp152.2.9.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.5-devel-extra-2.5.9-lp152.2.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:ruby2.5-devel-extra-2.5.9-lp152.2.9.1">ruby2.5-devel-extra-2.5.9-lp152.2.9.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.5-doc-2.5.9-lp152.2.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:ruby2.5-doc-2.5.9-lp152.2.9.1">ruby2.5-doc-2.5.9-lp152.2.9.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.5-doc-ri-2.5.9-lp152.2.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:ruby2.5-doc-ri-2.5.9-lp152.2.9.1">ruby2.5-doc-ri-2.5.9-lp152.2.9.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.5-stdlib-2.5.9-lp152.2.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:ruby2.5-stdlib-2.5.9-lp152.2.9.1">ruby2.5-stdlib-2.5.9-lp152.2.9.1 as a component of openSUSE Leap 15.2</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">In RDoc 3.11 through 6.x before 6.3.1, as distributed with Ruby through 3.0.1, it is possible to execute arbitrary code via | and tags in a filename.</Note>
    </Notes>
    <CVE>CVE-2021-31799</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:libruby2_5-2_5-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-devel-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-devel-extra-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-doc-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-doc-ri-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-stdlib-2.5.9-lp152.2.9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.4</BaseScore>
        <Vector>AV:L/AC:M/Au:N/C:P/I:P/A:P</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/SFO6LZPCK3BJ6OA3FTD3UWQI47BKDQBA/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-31799.html</URL>
        <Description>CVE-2021-31799</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1190375</URL>
        <Description>SUSE Bug 1190375</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1196771</URL>
        <Description>SUSE Bug 1196771</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>openSUSE Leap 15.2:libruby2_5-2_5-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-devel-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-devel-extra-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-doc-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-doc-ri-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-stdlib-2.5.9-lp152.2.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: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/SFO6LZPCK3BJ6OA3FTD3UWQI47BKDQBA/</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>openSUSE Leap 15.2:libruby2_5-2_5-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-devel-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-devel-extra-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-doc-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-doc-ri-2.5.9-lp152.2.9.1</ProductID>
        <ProductID>openSUSE Leap 15.2:ruby2.5-stdlib-2.5.9-lp152.2.9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>5.8</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:P/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/SFO6LZPCK3BJ6OA3FTD3UWQI47BKDQBA/</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>
</cvrfdoc>
