<?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 xdg-desktop-portal</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:1803-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2024-05-28T14:21:16Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2024-05-28T14:21:16Z</InitialReleaseDate>
    <CurrentReleaseDate>2024-05-28T14:21: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 xdg-desktop-portal</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for xdg-desktop-portal fixes the following issues:

- CVE-2024-32462: Fixed sandbox escape via RequestBackground portal (bsc#1223110).
</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-1803,SUSE-SLE-Module-Desktop-Applications-15-SP5-2024-1803,openSUSE-SLE-15.5-2024-1803</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-20241803-1/</URL>
      <Description>Link for SUSE-SU-2024:1803-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-updates/2024-May/035373.html</URL>
      <Description>E-Mail link for SUSE-SU-2024:1803-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/1223110</URL>
      <Description>SUSE Bug 1223110</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2024-32462/</URL>
      <Description>SUSE CVE CVE-2024-32462 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 Desktop Applications 15 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Desktop Applications 15 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Desktop Applications 15 SP5" CPE="cpe:/o:suse:sle-module-desktop-applications:15:sp5">SUSE Linux Enterprise Module for Desktop Applications 15 SP5</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 Version" Name="xdg-desktop-portal-1.16.0-150500.3.6.1">
      <FullProductName ProductID="xdg-desktop-portal-1.16.0-150500.3.6.1">xdg-desktop-portal-1.16.0-150500.3.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="xdg-desktop-portal-devel-1.16.0-150500.3.6.1">
      <FullProductName ProductID="xdg-desktop-portal-devel-1.16.0-150500.3.6.1">xdg-desktop-portal-devel-1.16.0-150500.3.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="xdg-desktop-portal-lang-1.16.0-150500.3.6.1">
      <FullProductName ProductID="xdg-desktop-portal-lang-1.16.0-150500.3.6.1">xdg-desktop-portal-lang-1.16.0-150500.3.6.1</FullProductName>
    </Branch>
    <Relationship ProductReference="xdg-desktop-portal-1.16.0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Desktop Applications 15 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Desktop Applications 15 SP5:xdg-desktop-portal-1.16.0-150500.3.6.1">xdg-desktop-portal-1.16.0-150500.3.6.1 as a component of SUSE Linux Enterprise Module for Desktop Applications 15 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="xdg-desktop-portal-devel-1.16.0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Desktop Applications 15 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Desktop Applications 15 SP5:xdg-desktop-portal-devel-1.16.0-150500.3.6.1">xdg-desktop-portal-devel-1.16.0-150500.3.6.1 as a component of SUSE Linux Enterprise Module for Desktop Applications 15 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="xdg-desktop-portal-lang-1.16.0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Desktop Applications 15 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Desktop Applications 15 SP5:xdg-desktop-portal-lang-1.16.0-150500.3.6.1">xdg-desktop-portal-lang-1.16.0-150500.3.6.1 as a component of SUSE Linux Enterprise Module for Desktop Applications 15 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="xdg-desktop-portal-1.16.0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:xdg-desktop-portal-1.16.0-150500.3.6.1">xdg-desktop-portal-1.16.0-150500.3.6.1 as a component of openSUSE Leap 15.5</FullProductName>
    </Relationship>
    <Relationship ProductReference="xdg-desktop-portal-devel-1.16.0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:xdg-desktop-portal-devel-1.16.0-150500.3.6.1">xdg-desktop-portal-devel-1.16.0-150500.3.6.1 as a component of openSUSE Leap 15.5</FullProductName>
    </Relationship>
    <Relationship ProductReference="xdg-desktop-portal-lang-1.16.0-150500.3.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:xdg-desktop-portal-lang-1.16.0-150500.3.6.1">xdg-desktop-portal-lang-1.16.0-150500.3.6.1 as a component of openSUSE Leap 15.5</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">Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. in versions before 1.10.9, 1.12.9, 1.14.6, and 1.15.8, a malicious or compromised Flatpak app could execute arbitrary code outside its sandbox. Normally, the `--command` argument of `flatpak run` expects to be given a command to run in the specified Flatpak app, optionally along with some arguments. However it is possible to instead pass `bwrap` arguments to `--command=`, such as `--bind`. It's possible to pass an arbitrary `commandline` to the portal interface `org.freedesktop.portal.Background.RequestBackground` from within a Flatpak app. When this is converted into a `--command` and arguments, it achieves the same effect of passing arguments directly to `bwrap`, and thus can be used for a sandbox escape. The solution is to pass the `--` argument to `bwrap`, which makes it stop processing options. This has been supported since bubblewrap 0.3.0. All supported versions of Flatpak require at least that version of bubblewrap. xdg-desktop-portal version 1.18.4 will mitigate this vulnerability by only allowing Flatpak apps to create .desktop files for commands that do not start with --. The vulnerability is patched in 1.15.8, 1.10.9, 1.12.9, and 1.14.6.</Note>
    </Notes>
    <CVE>CVE-2024-32462</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Desktop Applications 15 SP5:xdg-desktop-portal-1.16.0-150500.3.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Desktop Applications 15 SP5:xdg-desktop-portal-devel-1.16.0-150500.3.6.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Desktop Applications 15 SP5:xdg-desktop-portal-lang-1.16.0-150500.3.6.1</ProductID>
        <ProductID>openSUSE Leap 15.5:xdg-desktop-portal-1.16.0-150500.3.6.1</ProductID>
        <ProductID>openSUSE Leap 15.5:xdg-desktop-portal-devel-1.16.0-150500.3.6.1</ProductID>
        <ProductID>openSUSE Leap 15.5:xdg-desktop-portal-lang-1.16.0-150500.3.6.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://www.suse.com/support/update/announcement/2024/suse-su-20241803-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2024-32462.html</URL>
        <Description>CVE-2024-32462</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1223110</URL>
        <Description>SUSE Bug 1223110</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
