<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cpe="http://cpe.mitre.org/language/2.0" xmlns:cvrf="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/cvrf" xmlns:cvrf-common="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/common" xmlns:cvssv2="http://scap.nist.gov/schema/cvss-v2/1.0" xmlns:cvssv3="https://www.first.org/cvss/cvss-v3.0.xsd" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ns0="http://purl.org/dc/elements/1.1/" xmlns:prod="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/prod" xmlns:scap-core="http://scap.nist.gov/schema/scap-core/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:vuln="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/cvrf">
  <DocumentTitle xml:lang="en">Security update for curl</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2021:3351-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2021-10-12T11:23:02Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2021-10-12T11:23:02Z</InitialReleaseDate>
    <CurrentReleaseDate>2021-10-12T11:23:02Z</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 curl</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for curl fixes the following issues:

- CVE-2021-22947: Fixed STARTTLS protocol injection via MITM (bsc#1190374).
- CVE-2021-22946: Fixed protocol downgrade required TLS bypassed (bsc#1190373).
</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">Container suse/sles12sp4:latest-2021-3351,SUSE-2021-3351,SUSE-OpenStack-Cloud-9-2021-3351,SUSE-OpenStack-Cloud-Crowbar-9-2021-3351,SUSE-SLE-SAP-12-SP4-2021-3351,SUSE-SLE-SERVER-12-SP4-LTSS-2021-3351</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/2021/suse-su-20213351-1/</URL>
      <Description>Link for SUSE-SU-2021:3351-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2021-October/009570.html</URL>
      <Description>E-Mail link for SUSE-SU-2021:3351-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/1190373</URL>
      <Description>SUSE Bug 1190373</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1190374</URL>
      <Description>SUSE Bug 1190374</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-22946/</URL>
      <Description>SUSE CVE CVE-2021-22946 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-22947/</URL>
      <Description>SUSE CVE CVE-2021-22947 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/prod">
    <Branch Type="Product Family" Name="Container suse/sles12sp4:latest">
      <Branch Type="Product Name" Name="Container suse/sles12sp4:latest">
        <FullProductName ProductID="Container suse/sles12sp4:latest">Container suse/sles12sp4:latest</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12 SP4-LTSS">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP4-LTSS">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP4-LTSS" CPE="cpe:/o:suse:sles-ltss:12:sp4">SUSE Linux Enterprise Server 12 SP4-LTSS</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
        <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP4" CPE="cpe:/o:suse:sles_sap:12:sp4">SUSE Linux Enterprise Server for SAP Applications 12 SP4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE OpenStack Cloud 9">
      <Branch Type="Product Name" Name="SUSE OpenStack Cloud 9">
        <FullProductName ProductID="SUSE OpenStack Cloud 9" CPE="cpe:/o:suse:suse-openstack-cloud:9">SUSE OpenStack Cloud 9</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE OpenStack Cloud Crowbar 9">
      <Branch Type="Product Name" Name="SUSE OpenStack Cloud Crowbar 9">
        <FullProductName ProductID="SUSE OpenStack Cloud Crowbar 9" CPE="cpe:/o:suse:suse-openstack-cloud-crowbar:9">SUSE OpenStack Cloud Crowbar 9</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libcurl4-7.60.0-4.30.1">
      <FullProductName ProductID="libcurl4-7.60.0-4.30.1">libcurl4-7.60.0-4.30.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="curl-7.60.0-4.30.1">
      <FullProductName ProductID="curl-7.60.0-4.30.1">curl-7.60.0-4.30.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="curl-mini-7.60.0-4.30.1">
      <FullProductName ProductID="curl-mini-7.60.0-4.30.1">curl-mini-7.60.0-4.30.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl-devel-7.60.0-4.30.1">
      <FullProductName ProductID="libcurl-devel-7.60.0-4.30.1">libcurl-devel-7.60.0-4.30.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl-devel-32bit-7.60.0-4.30.1">
      <FullProductName ProductID="libcurl-devel-32bit-7.60.0-4.30.1">libcurl-devel-32bit-7.60.0-4.30.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl-devel-64bit-7.60.0-4.30.1">
      <FullProductName ProductID="libcurl-devel-64bit-7.60.0-4.30.1">libcurl-devel-64bit-7.60.0-4.30.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl-mini-devel-7.60.0-4.30.1">
      <FullProductName ProductID="libcurl-mini-devel-7.60.0-4.30.1">libcurl-mini-devel-7.60.0-4.30.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl4-32bit-7.60.0-4.30.1">
      <FullProductName ProductID="libcurl4-32bit-7.60.0-4.30.1">libcurl4-32bit-7.60.0-4.30.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl4-64bit-7.60.0-4.30.1">
      <FullProductName ProductID="libcurl4-64bit-7.60.0-4.30.1">libcurl4-64bit-7.60.0-4.30.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl4-mini-7.60.0-4.30.1">
      <FullProductName ProductID="libcurl4-mini-7.60.0-4.30.1">libcurl4-mini-7.60.0-4.30.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libcurl4-7.60.0-4.30.1" RelationType="Default Component Of" RelatesToProductReference="Container suse/sles12sp4:latest">
      <FullProductName ProductID="Container suse/sles12sp4:latest:libcurl4-7.60.0-4.30.1">libcurl4-7.60.0-4.30.1 as a component of Container suse/sles12sp4:latest</FullProductName>
    </Relationship>
    <Relationship ProductReference="curl-7.60.0-4.30.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP4-LTSS">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP4-LTSS:curl-7.60.0-4.30.1">curl-7.60.0-4.30.1 as a component of SUSE Linux Enterprise Server 12 SP4-LTSS</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-7.60.0-4.30.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP4-LTSS">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP4-LTSS:libcurl4-7.60.0-4.30.1">libcurl4-7.60.0-4.30.1 as a component of SUSE Linux Enterprise Server 12 SP4-LTSS</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-32bit-7.60.0-4.30.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP4-LTSS">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP4-LTSS:libcurl4-32bit-7.60.0-4.30.1">libcurl4-32bit-7.60.0-4.30.1 as a component of SUSE Linux Enterprise Server 12 SP4-LTSS</FullProductName>
    </Relationship>
    <Relationship ProductReference="curl-7.60.0-4.30.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP4:curl-7.60.0-4.30.1">curl-7.60.0-4.30.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-7.60.0-4.30.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP4:libcurl4-7.60.0-4.30.1">libcurl4-7.60.0-4.30.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-32bit-7.60.0-4.30.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP4:libcurl4-32bit-7.60.0-4.30.1">libcurl4-32bit-7.60.0-4.30.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="curl-7.60.0-4.30.1" RelationType="Default Component Of" RelatesToProductReference="SUSE OpenStack Cloud 9">
      <FullProductName ProductID="SUSE OpenStack Cloud 9:curl-7.60.0-4.30.1">curl-7.60.0-4.30.1 as a component of SUSE OpenStack Cloud 9</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-7.60.0-4.30.1" RelationType="Default Component Of" RelatesToProductReference="SUSE OpenStack Cloud 9">
      <FullProductName ProductID="SUSE OpenStack Cloud 9:libcurl4-7.60.0-4.30.1">libcurl4-7.60.0-4.30.1 as a component of SUSE OpenStack Cloud 9</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-32bit-7.60.0-4.30.1" RelationType="Default Component Of" RelatesToProductReference="SUSE OpenStack Cloud 9">
      <FullProductName ProductID="SUSE OpenStack Cloud 9:libcurl4-32bit-7.60.0-4.30.1">libcurl4-32bit-7.60.0-4.30.1 as a component of SUSE OpenStack Cloud 9</FullProductName>
    </Relationship>
    <Relationship ProductReference="curl-7.60.0-4.30.1" RelationType="Default Component Of" RelatesToProductReference="SUSE OpenStack Cloud Crowbar 9">
      <FullProductName ProductID="SUSE OpenStack Cloud Crowbar 9:curl-7.60.0-4.30.1">curl-7.60.0-4.30.1 as a component of SUSE OpenStack Cloud Crowbar 9</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-7.60.0-4.30.1" RelationType="Default Component Of" RelatesToProductReference="SUSE OpenStack Cloud Crowbar 9">
      <FullProductName ProductID="SUSE OpenStack Cloud Crowbar 9:libcurl4-7.60.0-4.30.1">libcurl4-7.60.0-4.30.1 as a component of SUSE OpenStack Cloud Crowbar 9</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-32bit-7.60.0-4.30.1" RelationType="Default Component Of" RelatesToProductReference="SUSE OpenStack Cloud Crowbar 9">
      <FullProductName ProductID="SUSE OpenStack Cloud Crowbar 9:libcurl4-32bit-7.60.0-4.30.1">libcurl4-32bit-7.60.0-4.30.1 as a component of SUSE OpenStack Cloud Crowbar 9</FullProductName>
    </Relationship>
  </ProductTree>
  <vuln:Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">A user can tell curl &gt;= 7.20.0 and &lt;= 7.78.0 to require a successful upgrade to TLS when speaking to an IMAP, POP3 or FTP server (`--ssl-reqd` on the command line or`CURLOPT_USE_SSL` set to `CURLUSESSL_CONTROL` or `CURLUSESSL_ALL` withlibcurl). This requirement could be bypassed if the server would return a properly crafted but perfectly legitimate response.This flaw would then make curl silently continue its operations **withoutTLS** contrary to the instructions and expectations, exposing possibly sensitive data in clear text over the network.</Note>
    </Notes>
    <CVE>CVE-2021-22946</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Container suse/sles12sp4:latest:libcurl4-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4-LTSS:curl-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4-LTSS:libcurl4-32bit-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4-LTSS:libcurl4-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:curl-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:libcurl4-32bit-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:libcurl4-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE OpenStack Cloud 9:curl-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE OpenStack Cloud 9:libcurl4-32bit-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE OpenStack Cloud 9:libcurl4-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE OpenStack Cloud Crowbar 9:curl-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE OpenStack Cloud Crowbar 9:libcurl4-32bit-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE OpenStack Cloud Crowbar 9:libcurl4-7.60.0-4.30.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>5</BaseScoreV2>
        <VectorV2>AV:N/AC:L/Au:N/C:P/I:N/A:N</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>5.9</BaseScoreV3>
        <VectorV3>CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N</VectorV3>
      </ScoreSetV3>
    </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://www.suse.com/support/update/announcement/2021/suse-su-20213351-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-22946.html</URL>
        <Description>CVE-2021-22946</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1190373</URL>
        <Description>SUSE Bug 1190373</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1194948</URL>
        <Description>SUSE Bug 1194948</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
  <vuln:Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">When curl &gt;= 7.20.0 and &lt;= 7.78.0 connects to an IMAP or POP3 server to retrieve data using STARTTLS to upgrade to TLS security, the server can respond and send back multiple responses at once that curl caches. curl would then upgrade to TLS but not flush the in-queue of cached responses but instead continue using and trustingthe responses it got *before* the TLS handshake as if they were authenticated.Using this flaw, it allows a Man-In-The-Middle attacker to first inject the fake responses, then pass-through the TLS traffic from the legitimate server and trick curl into sending data back to the user thinking the attacker's injected data comes from the TLS-protected server.</Note>
    </Notes>
    <CVE>CVE-2021-22947</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Container suse/sles12sp4:latest:libcurl4-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4-LTSS:curl-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4-LTSS:libcurl4-32bit-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4-LTSS:libcurl4-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:curl-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:libcurl4-32bit-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:libcurl4-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE OpenStack Cloud 9:curl-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE OpenStack Cloud 9:libcurl4-32bit-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE OpenStack Cloud 9:libcurl4-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE OpenStack Cloud Crowbar 9:curl-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE OpenStack Cloud Crowbar 9:libcurl4-32bit-7.60.0-4.30.1</ProductID>
        <ProductID>SUSE OpenStack Cloud Crowbar 9:libcurl4-7.60.0-4.30.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>4.3</BaseScoreV2>
        <VectorV2>AV:N/AC:M/Au:N/C:N/I:P/A:N</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>5.9</BaseScoreV3>
        <VectorV3>CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N</VectorV3>
      </ScoreSetV3>
    </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://www.suse.com/support/update/announcement/2021/suse-su-20213351-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-22947.html</URL>
        <Description>CVE-2021-22947</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1190374</URL>
        <Description>SUSE Bug 1190374</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
</cvrfdoc>
