<?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 rust</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:2203-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2019-09-27T07:40:16Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2019-09-27T07:40:16Z</InitialReleaseDate>
    <CurrentReleaseDate>2019-09-27T07:40: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 rust</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for rust fixes the following issues:

Rust was updated to version 1.36.0.

Security issues fixed:

- CVE-2019-12083: a standard method can be overridden violating Rust's safety guarantees and causing memory unsafety (bsc#1134978)
- CVE-2018-1000622: rustdoc loads plugins from world writable directory allowing for arbitrary code execution (bsc#1100691)

This update was imported from SUSE:SLE-15:Update.
</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-2019-2203</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-09/msg00076.html</URL>
      <Description>E-Mail link for openSUSE-SU-2019:2203-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/1096945</URL>
      <Description>SUSE Bug 1096945</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1100691</URL>
      <Description>SUSE Bug 1100691</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1133283</URL>
      <Description>SUSE Bug 1133283</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1134978</URL>
      <Description>SUSE Bug 1134978</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-1000622/</URL>
      <Description>SUSE CVE CVE-2018-1000622 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-12083/</URL>
      <Description>SUSE CVE CVE-2019-12083 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 15.1">
      <Branch Type="Product Name" Name="openSUSE Leap 15.1">
        <FullProductName ProductID="openSUSE Leap 15.1" CPE="cpe:/o:opensuse:leap:15.1">openSUSE Leap 15.1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="cargo-1.36.0-lp151.5.4.1">
      <FullProductName ProductID="cargo-1.36.0-lp151.5.4.1">cargo-1.36.0-lp151.5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="cargo-doc-1.36.0-lp151.5.4.1">
      <FullProductName ProductID="cargo-doc-1.36.0-lp151.5.4.1">cargo-doc-1.36.0-lp151.5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="clippy-1.36.0-lp151.5.4.1">
      <FullProductName ProductID="clippy-1.36.0-lp151.5.4.1">clippy-1.36.0-lp151.5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rls-1.36.0-lp151.5.4.1">
      <FullProductName ProductID="rls-1.36.0-lp151.5.4.1">rls-1.36.0-lp151.5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rust-1.36.0-lp151.5.4.1">
      <FullProductName ProductID="rust-1.36.0-lp151.5.4.1">rust-1.36.0-lp151.5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rust-analysis-1.36.0-lp151.5.4.1">
      <FullProductName ProductID="rust-analysis-1.36.0-lp151.5.4.1">rust-analysis-1.36.0-lp151.5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rust-cbindgen-0.8.7-lp151.2.2">
      <FullProductName ProductID="rust-cbindgen-0.8.7-lp151.2.2">rust-cbindgen-0.8.7-lp151.2.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rust-doc-1.36.0-lp151.5.4.1">
      <FullProductName ProductID="rust-doc-1.36.0-lp151.5.4.1">rust-doc-1.36.0-lp151.5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rust-gdb-1.36.0-lp151.5.4.1">
      <FullProductName ProductID="rust-gdb-1.36.0-lp151.5.4.1">rust-gdb-1.36.0-lp151.5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rust-src-1.36.0-lp151.5.4.1">
      <FullProductName ProductID="rust-src-1.36.0-lp151.5.4.1">rust-src-1.36.0-lp151.5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rust-std-static-1.36.0-lp151.5.4.1">
      <FullProductName ProductID="rust-std-static-1.36.0-lp151.5.4.1">rust-std-static-1.36.0-lp151.5.4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rustfmt-1.36.0-lp151.5.4.1">
      <FullProductName ProductID="rustfmt-1.36.0-lp151.5.4.1">rustfmt-1.36.0-lp151.5.4.1</FullProductName>
    </Branch>
    <Relationship ProductReference="cargo-1.36.0-lp151.5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:cargo-1.36.0-lp151.5.4.1">cargo-1.36.0-lp151.5.4.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="cargo-doc-1.36.0-lp151.5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:cargo-doc-1.36.0-lp151.5.4.1">cargo-doc-1.36.0-lp151.5.4.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="clippy-1.36.0-lp151.5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:clippy-1.36.0-lp151.5.4.1">clippy-1.36.0-lp151.5.4.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="rls-1.36.0-lp151.5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:rls-1.36.0-lp151.5.4.1">rls-1.36.0-lp151.5.4.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="rust-1.36.0-lp151.5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:rust-1.36.0-lp151.5.4.1">rust-1.36.0-lp151.5.4.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="rust-analysis-1.36.0-lp151.5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:rust-analysis-1.36.0-lp151.5.4.1">rust-analysis-1.36.0-lp151.5.4.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="rust-cbindgen-0.8.7-lp151.2.2" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:rust-cbindgen-0.8.7-lp151.2.2">rust-cbindgen-0.8.7-lp151.2.2 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="rust-doc-1.36.0-lp151.5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:rust-doc-1.36.0-lp151.5.4.1">rust-doc-1.36.0-lp151.5.4.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="rust-gdb-1.36.0-lp151.5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:rust-gdb-1.36.0-lp151.5.4.1">rust-gdb-1.36.0-lp151.5.4.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="rust-src-1.36.0-lp151.5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:rust-src-1.36.0-lp151.5.4.1">rust-src-1.36.0-lp151.5.4.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="rust-std-static-1.36.0-lp151.5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:rust-std-static-1.36.0-lp151.5.4.1">rust-std-static-1.36.0-lp151.5.4.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="rustfmt-1.36.0-lp151.5.4.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:rustfmt-1.36.0-lp151.5.4.1">rustfmt-1.36.0-lp151.5.4.1 as a component of openSUSE Leap 15.1</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">The Rust Programming Language rustdoc version Between 0.8 and 1.27.0 contains a CWE-427: Uncontrolled Search Path Element vulnerability in rustdoc plugins that can result in local code execution as a different user. This attack appear to be exploitable via using the --plugin flag without the --plugin-path flag. This vulnerability appears to have been fixed in 1.27.1.</Note>
    </Notes>
    <CVE>CVE-2018-1000622</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.1:cargo-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:cargo-doc-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:clippy-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rls-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rust-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rust-analysis-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rust-cbindgen-0.8.7-lp151.2.2</ProductID>
        <ProductID>openSUSE Leap 15.1:rust-doc-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rust-gdb-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rust-src-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rust-std-static-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rustfmt-1.36.0-lp151.5.4.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>https://lists.opensuse.org/opensuse-security-announce/2019-09/msg00076.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-1000622.html</URL>
        <Description>CVE-2018-1000622</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1100691</URL>
        <Description>SUSE Bug 1100691</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">The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, can violate Rust's safety guarantees and cause memory unsafety. If the `Error::type_id` method is overridden then any type can be safely cast to any other type, causing memory safety vulnerabilities in safe code (e.g., out-of-bounds write or read). Code that does not manually implement Error::type_id is unaffected.</Note>
    </Notes>
    <CVE>CVE-2019-12083</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.1:cargo-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:cargo-doc-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:clippy-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rls-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rust-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rust-analysis-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rust-cbindgen-0.8.7-lp151.2.2</ProductID>
        <ProductID>openSUSE Leap 15.1:rust-doc-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rust-gdb-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rust-src-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rust-std-static-1.36.0-lp151.5.4.1</ProductID>
        <ProductID>openSUSE Leap 15.1:rustfmt-1.36.0-lp151.5.4.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://lists.opensuse.org/opensuse-security-announce/2019-09/msg00076.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-12083.html</URL>
        <Description>CVE-2019-12083</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1134978</URL>
        <Description>SUSE Bug 1134978</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
