<?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 rubygem-puma</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2020:2060-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2020-07-28T15:54:20Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2020-07-28T15:54:20Z</InitialReleaseDate>
    <CurrentReleaseDate>2020-07-28T15:54:20Z</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 rubygem-puma</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for rubygem-puma fixes the following issues:

- Add patches for disabling TLSv1.0 and TLSv1.1 (jsc#SLE-6965):
- Add CVE-2020-11077.patch (bsc#1172175, CVE-2020-11077)
- Add CVE-2020-11076.patch (bsc#1172176, CVE-2020-11076)
- Add CVE-2020-5247.patch (bsc#1165402)
  'Fixes a problem where we were not splitting newlines in headers
  according to Rack spec'
  The patch is reduced compared to the upstream version, which was
  patching also the parts that are not implemented in our old Puma
  version. This applies to unit test as well.
- Add CVE-2019-16770.patch (bsc#1158675, SOC-10999, CVE-2019-16770)
  This patch fixes a DoS vulnerability a malicious client could use to
  block a large amount of threads.
</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">SUSE-2020-2060,SUSE-OpenStack-Cloud-6-LTSS-2020-2060</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/2020/suse-su-20202060-1/</URL>
      <Description>Link for SUSE-SU-2020:2060-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2020-July/007189.html</URL>
      <Description>E-Mail link for SUSE-SU-2020:2060-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/1158675</URL>
      <Description>SUSE Bug 1158675</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1165402</URL>
      <Description>SUSE Bug 1165402</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1172175</URL>
      <Description>SUSE Bug 1172175</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1172176</URL>
      <Description>SUSE Bug 1172176</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-16770/</URL>
      <Description>SUSE CVE CVE-2019-16770 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2020-11076/</URL>
      <Description>SUSE CVE CVE-2020-11076 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2020-11077/</URL>
      <Description>SUSE CVE CVE-2020-11077 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2020-5247/</URL>
      <Description>SUSE CVE CVE-2020-5247 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE OpenStack Cloud 6-LTSS">
      <Branch Type="Product Name" Name="SUSE OpenStack Cloud 6-LTSS">
        <FullProductName ProductID="SUSE OpenStack Cloud 6-LTSS" CPE="cpe:/o:suse:suse-openstack-cloud-ltss:6">SUSE OpenStack Cloud 6-LTSS</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.1-rubygem-puma-2.16.0-4.3.1">
      <FullProductName ProductID="ruby2.1-rubygem-puma-2.16.0-4.3.1">ruby2.1-rubygem-puma-2.16.0-4.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.1-rubygem-puma-doc-2.16.0-4.3.1">
      <FullProductName ProductID="ruby2.1-rubygem-puma-doc-2.16.0-4.3.1">ruby2.1-rubygem-puma-doc-2.16.0-4.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="ruby2.1-rubygem-puma-2.16.0-4.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE OpenStack Cloud 6-LTSS">
      <FullProductName ProductID="SUSE OpenStack Cloud 6-LTSS:ruby2.1-rubygem-puma-2.16.0-4.3.1">ruby2.1-rubygem-puma-2.16.0-4.3.1 as a component of SUSE OpenStack Cloud 6-LTSS</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 Puma before versions 3.12.2 and 4.3.1, a poorly-behaved client could use keepalive requests to monopolize Puma's reactor and create a denial of service attack. If more keepalive connections to Puma are opened than there are threads available, additional connections will wait permanently if the attacker sends requests frequently enough. This vulnerability is patched in Puma 4.3.1 and 3.12.2.</Note>
    </Notes>
    <CVE>CVE-2019-16770</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE OpenStack Cloud 6-LTSS:ruby2.1-rubygem-puma-2.16.0-4.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/2020/suse-su-20202060-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-16770.html</URL>
        <Description>CVE-2019-16770</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1158675</URL>
        <Description>SUSE Bug 1158675</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1188527</URL>
        <Description>SUSE Bug 1188527</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">In Puma (RubyGem) before 4.3.4 and 3.12.5, an attacker could smuggle an HTTP response, by using an invalid transfer-encoding header. The problem has been fixed in Puma 3.12.5 and Puma 4.3.4.</Note>
    </Notes>
    <CVE>CVE-2020-11076</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE OpenStack Cloud 6-LTSS:ruby2.1-rubygem-puma-2.16.0-4.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</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/2020/suse-su-20202060-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2020-11076.html</URL>
        <Description>CVE-2020-11076</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1172175</URL>
        <Description>SUSE Bug 1172175</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1172176</URL>
        <Description>SUSE Bug 1172176</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">In Puma (RubyGem) before 4.3.5 and 3.12.6, a client could smuggle a request through a proxy, causing the proxy to send a response back to another unknown client. If the proxy uses persistent connections and the client adds another request in via HTTP pipelining, the proxy may mistake it as the first request's body. Puma, however, would see it as two requests, and when processing the second request, send back a response that the proxy does not expect. If the proxy has reused the persistent connection to Puma to send another request for a different client, the second response from the first client will be sent to the second client. This is a similar but different vulnerability from CVE-2020-11076. The problem has been fixed in Puma 3.12.6 and Puma 4.3.5.</Note>
    </Notes>
    <CVE>CVE-2020-11077</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE OpenStack Cloud 6-LTSS:ruby2.1-rubygem-puma-2.16.0-4.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</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/2020/suse-su-20202060-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2020-11077.html</URL>
        <Description>CVE-2020-11077</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1172175</URL>
        <Description>SUSE Bug 1172175</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1172176</URL>
        <Description>SUSE Bug 1172176</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">In Puma (RubyGem) before 4.3.2 and before 3.12.3, if an application using Puma allows untrusted input in a response header, an attacker can use newline characters (i.e. `CR`, `LF` or`/r`, `/n`) to end the header and inject malicious content, such as additional headers or an entirely new response body. This vulnerability is known as HTTP Response Splitting. While not an attack in itself, response splitting is a vector for several other attacks, such as cross-site scripting (XSS). This is related to CVE-2019-16254, which fixed this vulnerability for the WEBrick Ruby web server. This has been fixed in versions 4.3.2 and 3.12.3 by checking all headers for line endings and rejecting headers with those characters.</Note>
    </Notes>
    <CVE>CVE-2020-5247</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE OpenStack Cloud 6-LTSS:ruby2.1-rubygem-puma-2.16.0-4.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</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/2020/suse-su-20202060-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2020-5247.html</URL>
        <Description>CVE-2020-5247</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1165402</URL>
        <Description>SUSE Bug 1165402</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1165524</URL>
        <Description>SUSE Bug 1165524</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
