<?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">curl-7.86.0-1.1 on GA media</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2024:12447</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2024-06-17T21:45:33Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2024-06-17T21:45:33Z</InitialReleaseDate>
    <CurrentReleaseDate>2024-06-17T21:45:33Z</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">curl-7.86.0-1.1 on GA media</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">These are all security issues fixed in the curl-7.86.0-1.1 package on the GA media of openSUSE Tumbleweed.</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-Tumbleweed-2024-12447</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/>
      <Description>E-Mail link for openSUSE-SU-2024:12447</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://www.suse.com/security/cve/CVE-2022-32221/</URL>
      <Description>SUSE CVE CVE-2022-32221 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-35260/</URL>
      <Description>SUSE CVE CVE-2022-35260 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-42915/</URL>
      <Description>SUSE CVE CVE-2022-42915 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-42916/</URL>
      <Description>SUSE CVE CVE-2022-42916 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Tumbleweed">
      <Branch Type="Product Name" Name="openSUSE Tumbleweed">
        <FullProductName ProductID="openSUSE Tumbleweed" CPE="cpe:/o:opensuse:tumbleweed">openSUSE Tumbleweed</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="curl-7.86.0-1.1">
      <FullProductName ProductID="curl-7.86.0-1.1">curl-7.86.0-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl-devel-7.86.0-1.1">
      <FullProductName ProductID="libcurl-devel-7.86.0-1.1">libcurl-devel-7.86.0-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl-devel-32bit-7.86.0-1.1">
      <FullProductName ProductID="libcurl-devel-32bit-7.86.0-1.1">libcurl-devel-32bit-7.86.0-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl4-7.86.0-1.1">
      <FullProductName ProductID="libcurl4-7.86.0-1.1">libcurl4-7.86.0-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcurl4-32bit-7.86.0-1.1">
      <FullProductName ProductID="libcurl4-32bit-7.86.0-1.1">libcurl4-32bit-7.86.0-1.1</FullProductName>
    </Branch>
    <Relationship ProductReference="curl-7.86.0-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:curl-7.86.0-1.1">curl-7.86.0-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl-devel-7.86.0-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:libcurl-devel-7.86.0-1.1">libcurl-devel-7.86.0-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl-devel-32bit-7.86.0-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:libcurl-devel-32bit-7.86.0-1.1">libcurl-devel-32bit-7.86.0-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-7.86.0-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:libcurl4-7.86.0-1.1">libcurl4-7.86.0-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcurl4-32bit-7.86.0-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:libcurl4-32bit-7.86.0-1.1">libcurl4-32bit-7.86.0-1.1 as a component of openSUSE Tumbleweed</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>openSUSE Tumbleweed:curl-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl-devel-32bit-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl-devel-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl4-32bit-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl4-7.86.0-1.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/>
      </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>
  <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">curl can be told to parse a `.netrc` file for credentials. If that file endsin a line with 4095 consecutive non-white space letters and no newline, curlwould first read past the end of the stack-based buffer, and if the readworks, write a zero byte beyond its boundary.This will in most cases cause a segfault or similar, but circumstances might also cause different outcomes.If a malicious user can provide a custom netrc file to an application or otherwise affect its contents, this flaw could be used as denial-of-service.</Note>
    </Notes>
    <CVE>CVE-2022-35260</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:curl-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl-devel-32bit-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl-devel-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl4-32bit-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl4-7.86.0-1.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/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-35260.html</URL>
        <Description>CVE-2022-35260</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1204384</URL>
        <Description>SUSE Bug 1204384</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">curl before 7.86.0 has a double free. If curl is told to use an HTTP proxy for a transfer with a non-HTTP(S) URL, it sets up the connection to the remote server by issuing a CONNECT request to the proxy, and then tunnels the rest of the protocol through. An HTTP proxy might refuse this request (HTTP proxies often only allow outgoing connections to specific port numbers, like 443 for HTTPS) and instead return a non-200 status code to the client. Due to flaws in the error/cleanup handling, this could trigger a double free in curl if one of the following schemes were used in the URL for the transfer: dict, gopher, gophers, ldap, ldaps, rtmp, rtmps, or telnet. The earliest affected version is 7.77.0.</Note>
    </Notes>
    <CVE>CVE-2022-42915</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:curl-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl-devel-32bit-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl-devel-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl4-32bit-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl4-7.86.0-1.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/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-42915.html</URL>
        <Description>CVE-2022-42915</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1204385</URL>
        <Description>SUSE Bug 1204385</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 curl before 7.86.0, the HSTS check could be bypassed to trick it into staying with HTTP. Using its HSTS support, curl can be instructed to use HTTPS directly (instead of using an insecure cleartext HTTP step) even when HTTP is provided in the URL. This mechanism could be bypassed if the host name in the given URL uses IDN characters that get replaced with ASCII counterparts as part of the IDN conversion, e.g., using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop of U+002E (.). The earliest affected version is 7.77.0 2021-05-26.</Note>
    </Notes>
    <CVE>CVE-2022-42916</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:curl-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl-devel-32bit-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl-devel-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl4-32bit-7.86.0-1.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcurl4-7.86.0-1.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/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-42916.html</URL>
        <Description>CVE-2022-42916</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1204386</URL>
        <Description>SUSE Bug 1204386</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1206308</URL>
        <Description>SUSE Bug 1206308</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
