<?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>openSUSE-SU-2019:0173-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2019-02-14T09:03:14Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2019-02-14T09:03:14Z</InitialReleaseDate>
    <CurrentReleaseDate>2019-02-14T09:03:14Z</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:

Security issues fixed:

- CVE-2019-3823: Fixed a heap out-of-bounds read in the code handling the end-of-response for SMTP (bsc#1123378).
- CVE-2019-3822: Fixed a stack based buffer overflow in the function creating an outgoing NTLM type-3 message (bsc#1123377).
- CVE-2018-16890: Fixed a heap buffer out-of-bounds read in the function handling incoming NTLM type-2 messages (bsc#1123371).

This update was imported from the SUSE:SLE-12: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>
  </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/opensuse-security-announce/2019-02/msg00022.html</URL>
      <Description>E-Mail link for openSUSE-SU-2019:0173-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 42.3">
      <Branch Type="Product Name" Name="openSUSE Leap 42.3">
        <FullProductName ProductID="openSUSE Leap 42.3">openSUSE Leap 42.3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="curl-7.37.0-45.1">
      <FullProductName ProductID="curl-7.37.0-45.1">curl-7.37.0-45.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl-devel-7.37.0-45.1">
      <FullProductName ProductID="libcurl-devel-7.37.0-45.1">libcurl-devel-7.37.0-45.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl-devel-32bit-7.37.0-45.1">
      <FullProductName ProductID="libcurl-devel-32bit-7.37.0-45.1">libcurl-devel-32bit-7.37.0-45.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl4-7.37.0-45.1">
      <FullProductName ProductID="libcurl4-7.37.0-45.1">libcurl4-7.37.0-45.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl4-32bit-7.37.0-45.1">
      <FullProductName ProductID="libcurl4-32bit-7.37.0-45.1">libcurl4-32bit-7.37.0-45.1</FullProductName>
    </Branch>
    <Relationship ProductReference="curl-7.37.0-45.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:curl-7.37.0-45.1">curl-7.37.0-45.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl-devel-7.37.0-45.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libcurl-devel-7.37.0-45.1">libcurl-devel-7.37.0-45.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl-devel-32bit-7.37.0-45.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libcurl-devel-32bit-7.37.0-45.1">libcurl-devel-32bit-7.37.0-45.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-7.37.0-45.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libcurl4-7.37.0-45.1">libcurl4-7.37.0-45.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-32bit-7.37.0-45.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libcurl4-32bit-7.37.0-45.1">libcurl4-32bit-7.37.0-45.1 as a component of openSUSE Leap 42.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">libcurl versions from 7.36.0 to before 7.64.0 is vulnerable to a heap buffer out-of-bounds read. The function handling incoming NTLM type-2 messages (`lib/vauth/ntlm.c:ntlm_decode_type2_target`) does not validate incoming data correctly and is subject to an integer overflow vulnerability. Using that overflow, a malicious or broken NTLM server could trick libcurl to accept a bad length + offset combination that would lead to a buffer read out-of-bounds.</Note>
    </Notes>
    <CVE>CVE-2018-16890</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:curl-7.37.0-45.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libcurl-devel-32bit-7.37.0-45.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libcurl-devel-7.37.0-45.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libcurl4-32bit-7.37.0-45.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libcurl4-7.37.0-45.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2019-02/msg00022.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-16890.html</URL>
        <Description>CVE-2018-16890</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1123371</URL>
        <Description>SUSE Bug 1123371</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1123378</URL>
        <Description>SUSE Bug 1123378</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1141798</URL>
        <Description>SUSE Bug 1141798</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">libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based buffer overflow. The function creating an outgoing NTLM type-3 header (`lib/vauth/ntlm.c:Curl_auth_create_ntlm_type3_message()`), generates the request HTTP header contents based on previously received data. The check that exists to prevent the local buffer from getting overflowed is implemented wrongly (using unsigned math) and as such it does not prevent the overflow from happening. This output data can grow larger than the local buffer if very large 'nt response' data is extracted from a previous NTLMv2 header provided by the malicious or broken HTTP server. Such a 'large value' needs to be around 1000 bytes or more. The actual payload data copied to the target buffer comes from the NTLMv2 type-2 response header.</Note>
    </Notes>
    <CVE>CVE-2019-3822</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:curl-7.37.0-45.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libcurl-devel-32bit-7.37.0-45.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libcurl-devel-7.37.0-45.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libcurl4-32bit-7.37.0-45.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libcurl4-7.37.0-45.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2019-02/msg00022.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-3822.html</URL>
        <Description>CVE-2019-3822</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1123377</URL>
        <Description>SUSE Bug 1123377</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1141798</URL>
        <Description>SUSE Bug 1141798</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">libcurl versions from 7.34.0 to before 7.64.0 are vulnerable to a heap out-of-bounds read in the code handling the end-of-response for SMTP. If the buffer passed to `smtp_endofresp()` isn't NUL terminated and contains no character ending the parsed number, and `len` is set to 5, then the `strtol()` call reads beyond the allocated buffer. The read contents will not be returned to the caller.</Note>
    </Notes>
    <CVE>CVE-2019-3823</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:curl-7.37.0-45.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libcurl-devel-32bit-7.37.0-45.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libcurl-devel-7.37.0-45.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libcurl4-32bit-7.37.0-45.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libcurl4-7.37.0-45.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2019-02/msg00022.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-3823.html</URL>
        <Description>CVE-2019-3823</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1123378</URL>
        <Description>SUSE Bug 1123378</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1126909</URL>
        <Description>SUSE Bug 1126909</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1141798</URL>
        <Description>SUSE Bug 1141798</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
