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

Updated to version 1.25.1~0:
  - CVE-2022-24713: Fixed Regex denial of service (bsc#1196972).
  - CVE-2021-45710: Fixed tokio data race with memory corruption (bsc#1194119).

</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-3949,SUSE-SLE-Module-Development-Tools-15-SP3-2022-3949,openSUSE-SLE-15.3-2022-3949</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-20223949-1/</URL>
      <Description>Link for SUSE-SU-2022:3949-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2022-November/012900.html</URL>
      <Description>E-Mail link for SUSE-SU-2022:3949-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/1194119</URL>
      <Description>SUSE Bug 1194119</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1196972</URL>
      <Description>SUSE Bug 1196972</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-45710/</URL>
      <Description>SUSE CVE CVE-2021-45710 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-24713/</URL>
      <Description>SUSE CVE CVE-2022-24713 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Module for Development Tools 15 SP3">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Development Tools 15 SP3">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Development Tools 15 SP3" CPE="cpe:/o:suse:sle-module-development-tools:15:sp3">SUSE Linux Enterprise Module for Development Tools 15 SP3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="openSUSE Leap 15.3">
      <Branch Type="Product Name" Name="openSUSE Leap 15.3">
        <FullProductName ProductID="openSUSE Leap 15.3" CPE="cpe:/o:opensuse:leap:15.3">openSUSE Leap 15.3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="rustup-1.25.1~0-150300.7.13.2">
      <FullProductName ProductID="rustup-1.25.1~0-150300.7.13.2">rustup-1.25.1~0-150300.7.13.2</FullProductName>
    </Branch>
    <Relationship ProductReference="rustup-1.25.1~0-150300.7.13.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Development Tools 15 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Development Tools 15 SP3:rustup-1.25.1~0-150300.7.13.2">rustup-1.25.1~0-150300.7.13.2 as a component of SUSE Linux Enterprise Module for Development Tools 15 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rustup-1.25.1~0-150300.7.13.2" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:rustup-1.25.1~0-150300.7.13.2">rustup-1.25.1~0-150300.7.13.2 as a component of openSUSE Leap 15.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">An issue was discovered in the tokio crate before 1.8.4, and 1.9.x through 1.13.x before 1.13.1, for Rust. In certain circumstances involving a closed oneshot channel, there is a data race and memory corruption.</Note>
    </Notes>
    <CVE>CVE-2021-45710</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Development Tools 15 SP3:rustup-1.25.1~0-150300.7.13.2</ProductID>
        <ProductID>openSUSE Leap 15.3:rustup-1.25.1~0-150300.7.13.2</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/2022/suse-su-20223949-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-45710.html</URL>
        <Description>CVE-2021-45710</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1194119</URL>
        <Description>SUSE Bug 1194119</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">regex is an implementation of regular expressions for the Rust language. The regex crate features built-in mitigations to prevent denial of service attacks caused by untrusted regexes, or untrusted input matched by trusted regexes. Those (tunable) mitigations already provide sane defaults to prevent attacks. This guarantee is documented and it's considered part of the crate's API. Unfortunately a bug was discovered in the mitigations designed to prevent untrusted regexes to take an arbitrary amount of time during parsing, and it's possible to craft regexes that bypass such mitigations. This makes it possible to perform denial of service attacks by sending specially crafted regexes to services accepting user-controlled, untrusted regexes. All versions of the regex crate before or equal to 1.5.4 are affected by this issue. The fix is include starting from regex 1.5.5. All users accepting user-controlled regexes are recommended to upgrade immediately to the latest version of the regex crate. Unfortunately there is no fixed set of problematic regexes, as there are practically infinite regexes that could be crafted to exploit this vulnerability. Because of this, it us not recommend to deny known problematic regexes.</Note>
    </Notes>
    <CVE>CVE-2022-24713</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Development Tools 15 SP3:rustup-1.25.1~0-150300.7.13.2</ProductID>
        <ProductID>openSUSE Leap 15.3:rustup-1.25.1~0-150300.7.13.2</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/2022/suse-su-20223949-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-24713.html</URL>
        <Description>CVE-2022-24713</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1196972</URL>
        <Description>SUSE Bug 1196972</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
