<?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 rage-encryption</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2024:3404-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2024-09-23T13:56:03Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2024-09-23T13:56:03Z</InitialReleaseDate>
    <CurrentReleaseDate>2024-09-23T13:56:03Z</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 rage-encryption</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for rage-encryption fixes the following issues:

- Update to version 0.10.0
- CVE-2024-43806: Fixed rustix::fs::Dir iterator with the linux_raw backend that can cause memory exhaustion. (bsc#1229959) 
</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-2024-3404,SUSE-SLE-Module-Basesystem-15-SP5-2024-3404,SUSE-SLE-Module-Basesystem-15-SP6-2024-3404,openSUSE-SLE-15.5-2024-3404,openSUSE-SLE-15.6-2024-3404</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/2024/suse-su-20243404-1/</URL>
      <Description>Link for SUSE-SU-2024:3404-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2024-September/019502.html</URL>
      <Description>E-Mail link for SUSE-SU-2024:3404-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/1229959</URL>
      <Description>SUSE Bug 1229959</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2024-43806/</URL>
      <Description>SUSE CVE CVE-2024-43806 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 Basesystem 15 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Basesystem 15 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP5" CPE="cpe:/o:suse:sle-module-basesystem:15:sp5">SUSE Linux Enterprise Module for Basesystem 15 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Module for Basesystem 15 SP6">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Basesystem 15 SP6">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP6" CPE="cpe:/o:suse:sle-module-basesystem:15:sp6">SUSE Linux Enterprise Module for Basesystem 15 SP6</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="openSUSE Leap 15.5">
      <Branch Type="Product Name" Name="openSUSE Leap 15.5">
        <FullProductName ProductID="openSUSE Leap 15.5" CPE="cpe:/o:opensuse:leap:15.5">openSUSE Leap 15.5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="openSUSE Leap 15.6">
      <Branch Type="Product Name" Name="openSUSE Leap 15.6">
        <FullProductName ProductID="openSUSE Leap 15.6" CPE="cpe:/o:opensuse:leap:15.6">openSUSE Leap 15.6</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="rage-encryption-0.10.0+0-150500.3.6.1">
      <FullProductName ProductID="rage-encryption-0.10.0+0-150500.3.6.1">rage-encryption-0.10.0+0-150500.3.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rage-encryption-bash-completion-0.10.0+0-150500.3.6.1">
      <FullProductName ProductID="rage-encryption-bash-completion-0.10.0+0-150500.3.6.1">rage-encryption-bash-completion-0.10.0+0-150500.3.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rage-encryption-fish-completion-0.10.0+0-150500.3.6.1">
      <FullProductName ProductID="rage-encryption-fish-completion-0.10.0+0-150500.3.6.1">rage-encryption-fish-completion-0.10.0+0-150500.3.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rage-encryption-zsh-completion-0.10.0+0-150500.3.6.1">
      <FullProductName ProductID="rage-encryption-zsh-completion-0.10.0+0-150500.3.6.1">rage-encryption-zsh-completion-0.10.0+0-150500.3.6.1</FullProductName>
    </Branch>
    <Relationship ProductReference="rage-encryption-0.10.0+0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Basesystem 15 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP5:rage-encryption-0.10.0+0-150500.3.6.1">rage-encryption-0.10.0+0-150500.3.6.1 as a component of SUSE Linux Enterprise Module for Basesystem 15 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="rage-encryption-bash-completion-0.10.0+0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Basesystem 15 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP5:rage-encryption-bash-completion-0.10.0+0-150500.3.6.1">rage-encryption-bash-completion-0.10.0+0-150500.3.6.1 as a component of SUSE Linux Enterprise Module for Basesystem 15 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="rage-encryption-0.10.0+0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Basesystem 15 SP6">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP6:rage-encryption-0.10.0+0-150500.3.6.1">rage-encryption-0.10.0+0-150500.3.6.1 as a component of SUSE Linux Enterprise Module for Basesystem 15 SP6</FullProductName>
    </Relationship>
    <Relationship ProductReference="rage-encryption-bash-completion-0.10.0+0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Basesystem 15 SP6">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP6:rage-encryption-bash-completion-0.10.0+0-150500.3.6.1">rage-encryption-bash-completion-0.10.0+0-150500.3.6.1 as a component of SUSE Linux Enterprise Module for Basesystem 15 SP6</FullProductName>
    </Relationship>
    <Relationship ProductReference="rage-encryption-0.10.0+0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:rage-encryption-0.10.0+0-150500.3.6.1">rage-encryption-0.10.0+0-150500.3.6.1 as a component of openSUSE Leap 15.5</FullProductName>
    </Relationship>
    <Relationship ProductReference="rage-encryption-bash-completion-0.10.0+0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:rage-encryption-bash-completion-0.10.0+0-150500.3.6.1">rage-encryption-bash-completion-0.10.0+0-150500.3.6.1 as a component of openSUSE Leap 15.5</FullProductName>
    </Relationship>
    <Relationship ProductReference="rage-encryption-0.10.0+0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.6">
      <FullProductName ProductID="openSUSE Leap 15.6:rage-encryption-0.10.0+0-150500.3.6.1">rage-encryption-0.10.0+0-150500.3.6.1 as a component of openSUSE Leap 15.6</FullProductName>
    </Relationship>
    <Relationship ProductReference="rage-encryption-bash-completion-0.10.0+0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.6">
      <FullProductName ProductID="openSUSE Leap 15.6:rage-encryption-bash-completion-0.10.0+0-150500.3.6.1">rage-encryption-bash-completion-0.10.0+0-150500.3.6.1 as a component of openSUSE Leap 15.6</FullProductName>
    </Relationship>
    <Relationship ProductReference="rage-encryption-fish-completion-0.10.0+0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.6">
      <FullProductName ProductID="openSUSE Leap 15.6:rage-encryption-fish-completion-0.10.0+0-150500.3.6.1">rage-encryption-fish-completion-0.10.0+0-150500.3.6.1 as a component of openSUSE Leap 15.6</FullProductName>
    </Relationship>
    <Relationship ProductReference="rage-encryption-zsh-completion-0.10.0+0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.6">
      <FullProductName ProductID="openSUSE Leap 15.6:rage-encryption-zsh-completion-0.10.0+0-150500.3.6.1">rage-encryption-zsh-completion-0.10.0+0-150500.3.6.1 as a component of openSUSE Leap 15.6</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">Rustix is a set of safe Rust bindings to POSIX-ish APIs. When using `rustix::fs::Dir` using the `linux_raw` backend, it's possible for the iterator to "get stuck" when an IO error is encountered. Combined with a memory over-allocation issue in `rustix::fs::Dir::read_more`, this can cause quick and unbounded memory explosion (gigabytes in a few seconds if used on a hot path) and eventually lead to an OOM crash of the application. The symptoms were initially discovered in https://github.com/imsnif/bandwhich/issues/284. That post has lots of details of our investigation. Full details can be read on the GHSA-c827-hfw6-qwvm repo advisory. If a program tries to access a directory with its file descriptor after the file has been unlinked (or any other action that leaves the `Dir` iterator in the stuck state), and the implementation does not break after seeing an error, it can cause a memory explosion. As an example, Linux's various virtual file systems (e.g. `/proc`, `/sys`) can contain directories that spontaneously pop in and out of existence. Attempting to iterate over them using `rustix::fs::Dir` directly or indirectly (e.g. with the `procfs` crate) can trigger this fault condition if the implementation decides to continue on errors. An attacker knowledgeable about the implementation details of a vulnerable target can therefore try to trigger this fault condition via any one or a combination of several available APIs. If successful, the application host will quickly run out of memory, after which the application will likely be terminated by an OOM killer, leading to denial of service. This issue has been addressed in release versions 0.35.15, 0.36.16, 0.37.25, and 0.38.19. Users are advised to upgrade. There are no known workarounds for this issue.</Note>
    </Notes>
    <CVE>CVE-2024-43806</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP5:rage-encryption-0.10.0+0-150500.3.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP5:rage-encryption-bash-completion-0.10.0+0-150500.3.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP6:rage-encryption-0.10.0+0-150500.3.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP6:rage-encryption-bash-completion-0.10.0+0-150500.3.6.1</ProductID>
        <ProductID>openSUSE Leap 15.5:rage-encryption-0.10.0+0-150500.3.6.1</ProductID>
        <ProductID>openSUSE Leap 15.5:rage-encryption-bash-completion-0.10.0+0-150500.3.6.1</ProductID>
        <ProductID>openSUSE Leap 15.6:rage-encryption-0.10.0+0-150500.3.6.1</ProductID>
        <ProductID>openSUSE Leap 15.6:rage-encryption-bash-completion-0.10.0+0-150500.3.6.1</ProductID>
        <ProductID>openSUSE Leap 15.6:rage-encryption-fish-completion-0.10.0+0-150500.3.6.1</ProductID>
        <ProductID>openSUSE Leap 15.6:rage-encryption-zsh-completion-0.10.0+0-150500.3.6.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://www.suse.com/support/update/announcement/2024/suse-su-20243404-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2024-43806.html</URL>
        <Description>CVE-2024-43806</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1229376</URL>
        <Description>SUSE Bug 1229376</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
