<?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 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-2022:3770-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2022-10-26T10:17:35Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2022-10-26T10:17:35Z</InitialReleaseDate>
    <CurrentReleaseDate>2022-10-26T10:17: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 curl</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for curl fixes the following issues:

  - CVE-2022-32221: Fixed POST following PUT confusion (bsc#1204383).
</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-2022-3770,SUSE-SLE-SERVER-12-SP2-BCL-2022-3770,SUSE-SLE-SERVER-12-SP3-BCL-2022-3770</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-20223770-1/</URL>
      <Description>Link for SUSE-SU-2022:3770-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2022-October/012697.html</URL>
      <Description>E-Mail link for SUSE-SU-2022:3770-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/1204383</URL>
      <Description>SUSE Bug 1204383</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-32221/</URL>
      <Description>SUSE CVE CVE-2022-32221 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12 SP2-BCL">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP2-BCL">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP2-BCL" CPE="cpe:/o:suse:sles-bcl:12:sp2">SUSE Linux Enterprise Server 12 SP2-BCL</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12 SP3-BCL">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP3-BCL">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP3-BCL" CPE="cpe:/o:suse:sles-bcl:12:sp3">SUSE Linux Enterprise Server 12 SP3-BCL</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="curl-7.37.0-37.85.1">
      <FullProductName ProductID="curl-7.37.0-37.85.1">curl-7.37.0-37.85.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl-devel-7.37.0-37.85.1">
      <FullProductName ProductID="libcurl-devel-7.37.0-37.85.1">libcurl-devel-7.37.0-37.85.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl-devel-32bit-7.37.0-37.85.1">
      <FullProductName ProductID="libcurl-devel-32bit-7.37.0-37.85.1">libcurl-devel-32bit-7.37.0-37.85.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl-devel-64bit-7.37.0-37.85.1">
      <FullProductName ProductID="libcurl-devel-64bit-7.37.0-37.85.1">libcurl-devel-64bit-7.37.0-37.85.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl4-7.37.0-37.85.1">
      <FullProductName ProductID="libcurl4-7.37.0-37.85.1">libcurl4-7.37.0-37.85.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl4-32bit-7.37.0-37.85.1">
      <FullProductName ProductID="libcurl4-32bit-7.37.0-37.85.1">libcurl4-32bit-7.37.0-37.85.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl4-64bit-7.37.0-37.85.1">
      <FullProductName ProductID="libcurl4-64bit-7.37.0-37.85.1">libcurl4-64bit-7.37.0-37.85.1</FullProductName>
    </Branch>
    <Relationship ProductReference="curl-7.37.0-37.85.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP2-BCL">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP2-BCL:curl-7.37.0-37.85.1">curl-7.37.0-37.85.1 as a component of SUSE Linux Enterprise Server 12 SP2-BCL</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-7.37.0-37.85.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP2-BCL">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP2-BCL:libcurl4-7.37.0-37.85.1">libcurl4-7.37.0-37.85.1 as a component of SUSE Linux Enterprise Server 12 SP2-BCL</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-32bit-7.37.0-37.85.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP2-BCL">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP2-BCL:libcurl4-32bit-7.37.0-37.85.1">libcurl4-32bit-7.37.0-37.85.1 as a component of SUSE Linux Enterprise Server 12 SP2-BCL</FullProductName>
    </Relationship>
    <Relationship ProductReference="curl-7.37.0-37.85.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP3-BCL">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP3-BCL:curl-7.37.0-37.85.1">curl-7.37.0-37.85.1 as a component of SUSE Linux Enterprise Server 12 SP3-BCL</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-7.37.0-37.85.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP3-BCL">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP3-BCL:libcurl4-7.37.0-37.85.1">libcurl4-7.37.0-37.85.1 as a component of SUSE Linux Enterprise Server 12 SP3-BCL</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-32bit-7.37.0-37.85.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP3-BCL">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP3-BCL:libcurl4-32bit-7.37.0-37.85.1">libcurl4-32bit-7.37.0-37.85.1 as a component of SUSE Linux Enterprise Server 12 SP3-BCL</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">When doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data to send, even when the `CURLOPT_POSTFIELDS` option has been set, if the same handle previously was used to issue a `PUT` request which used that callback. This flaw may surprise the application and cause it to misbehave and either send off the wrong data or use memory after free or similar in the subsequent `POST` request. The problem exists in the logic for a reused handle when it is changed from a PUT to a POST.</Note>
    </Notes>
    <CVE>CVE-2022-32221</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:curl-7.37.0-37.85.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:libcurl4-32bit-7.37.0-37.85.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:libcurl4-7.37.0-37.85.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3-BCL:curl-7.37.0-37.85.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3-BCL:libcurl4-32bit-7.37.0-37.85.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3-BCL:libcurl4-7.37.0-37.85.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-20223770-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-32221.html</URL>
        <Description>CVE-2022-32221</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1204383</URL>
        <Description>SUSE Bug 1204383</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1205287</URL>
        <Description>SUSE Bug 1205287</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1205834</URL>
        <Description>SUSE Bug 1205834</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1206236</URL>
        <Description>SUSE Bug 1206236</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1208340</URL>
        <Description>SUSE Bug 1208340</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1211233</URL>
        <Description>SUSE Bug 1211233</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
