<?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 flatpak</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2023:1715-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2023-03-31T12:05:04Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2023-03-31T12:05:04Z</InitialReleaseDate>
    <CurrentReleaseDate>2023-03-31T12:05:04Z</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 flatpak</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for flatpak fixes the following issues:
    
- CVE-2023-28101: Fixed misleading terminal output with  metadata with ANSI control codes (bsc#1209410).
- CVE-2023-28100: Fixed unsandboxed TIOCLINUX commands (bsc#1209411).
    
Update to version 1.12.8:
    
- Update the SELinux module to explicitly permit the system
      helper have read access to /etc/passwd and systemd-userdbd,
      read and lock access to /var/lib/flatpak, and watch files
      inside $libexecdir
- If an app update is blocked by parental controls policies,
      clean up the temporary deploy directory
- Fix Autotools build with versions of gpgme that no longer
      provide gpgme-config(1)
- Remove some unreachable code
- Add missing handling for some D-Bus errors
    
Update to version 1.12.7:
 
- We now allow networked access to X11 and PulseAudio services
    if that is configured, and the application has network access.
- Absolute paths in WAYLAND_DISPLAY now work
- Allow apps that were built with Flatpak 1.13.x to export
    AppStream metadata in share/metainfo
- Most commands now work if /var/lib/flatpak exists but
</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-2023-1715,SUSE-SLE-Module-Desktop-Applications-15-SP4-2023-1715,openSUSE-SLE-15.4-2023-1715</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/2023/suse-su-20231715-1/</URL>
      <Description>Link for SUSE-SU-2023:1715-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-updates/2023-March/028537.html</URL>
      <Description>E-Mail link for SUSE-SU-2023:1715-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/1209410</URL>
      <Description>SUSE Bug 1209410</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1209411</URL>
      <Description>SUSE Bug 1209411</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-28100/</URL>
      <Description>SUSE CVE CVE-2023-28100 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-28101/</URL>
      <Description>SUSE CVE CVE-2023-28101 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 SP4">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Desktop Applications 15 SP4">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Desktop Applications 15 SP4" CPE="cpe:/o:suse:sle-module-desktop-applications:15:sp4">SUSE Linux Enterprise Module for Desktop Applications 15 SP4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="openSUSE Leap 15.4">
      <Branch Type="Product Name" Name="openSUSE Leap 15.4">
        <FullProductName ProductID="openSUSE Leap 15.4" CPE="cpe:/o:opensuse:leap:15.4">openSUSE Leap 15.4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="flatpak-1.12.8-150400.3.3.1">
      <FullProductName ProductID="flatpak-1.12.8-150400.3.3.1">flatpak-1.12.8-150400.3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="flatpak-devel-1.12.8-150400.3.3.1">
      <FullProductName ProductID="flatpak-devel-1.12.8-150400.3.3.1">flatpak-devel-1.12.8-150400.3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="flatpak-zsh-completion-1.12.8-150400.3.3.1">
      <FullProductName ProductID="flatpak-zsh-completion-1.12.8-150400.3.3.1">flatpak-zsh-completion-1.12.8-150400.3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libflatpak0-1.12.8-150400.3.3.1">
      <FullProductName ProductID="libflatpak0-1.12.8-150400.3.3.1">libflatpak0-1.12.8-150400.3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="system-user-flatpak-1.12.8-150400.3.3.1">
      <FullProductName ProductID="system-user-flatpak-1.12.8-150400.3.3.1">system-user-flatpak-1.12.8-150400.3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="typelib-1_0-Flatpak-1_0-1.12.8-150400.3.3.1">
      <FullProductName ProductID="typelib-1_0-Flatpak-1_0-1.12.8-150400.3.3.1">typelib-1_0-Flatpak-1_0-1.12.8-150400.3.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="flatpak-1.12.8-150400.3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Desktop Applications 15 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Desktop Applications 15 SP4:flatpak-1.12.8-150400.3.3.1">flatpak-1.12.8-150400.3.3.1 as a component of SUSE Linux Enterprise Module for Desktop Applications 15 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="flatpak-devel-1.12.8-150400.3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Desktop Applications 15 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Desktop Applications 15 SP4:flatpak-devel-1.12.8-150400.3.3.1">flatpak-devel-1.12.8-150400.3.3.1 as a component of SUSE Linux Enterprise Module for Desktop Applications 15 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="flatpak-zsh-completion-1.12.8-150400.3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Desktop Applications 15 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Desktop Applications 15 SP4:flatpak-zsh-completion-1.12.8-150400.3.3.1">flatpak-zsh-completion-1.12.8-150400.3.3.1 as a component of SUSE Linux Enterprise Module for Desktop Applications 15 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libflatpak0-1.12.8-150400.3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Desktop Applications 15 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Desktop Applications 15 SP4:libflatpak0-1.12.8-150400.3.3.1">libflatpak0-1.12.8-150400.3.3.1 as a component of SUSE Linux Enterprise Module for Desktop Applications 15 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="system-user-flatpak-1.12.8-150400.3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Desktop Applications 15 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Desktop Applications 15 SP4:system-user-flatpak-1.12.8-150400.3.3.1">system-user-flatpak-1.12.8-150400.3.3.1 as a component of SUSE Linux Enterprise Module for Desktop Applications 15 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="typelib-1_0-Flatpak-1_0-1.12.8-150400.3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Desktop Applications 15 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Desktop Applications 15 SP4:typelib-1_0-Flatpak-1_0-1.12.8-150400.3.3.1">typelib-1_0-Flatpak-1_0-1.12.8-150400.3.3.1 as a component of SUSE Linux Enterprise Module for Desktop Applications 15 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="flatpak-1.12.8-150400.3.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:flatpak-1.12.8-150400.3.3.1">flatpak-1.12.8-150400.3.3.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="flatpak-devel-1.12.8-150400.3.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:flatpak-devel-1.12.8-150400.3.3.1">flatpak-devel-1.12.8-150400.3.3.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="flatpak-zsh-completion-1.12.8-150400.3.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:flatpak-zsh-completion-1.12.8-150400.3.3.1">flatpak-zsh-completion-1.12.8-150400.3.3.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libflatpak0-1.12.8-150400.3.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:libflatpak0-1.12.8-150400.3.3.1">libflatpak0-1.12.8-150400.3.3.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="system-user-flatpak-1.12.8-150400.3.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:system-user-flatpak-1.12.8-150400.3.3.1">system-user-flatpak-1.12.8-150400.3.3.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="typelib-1_0-Flatpak-1_0-1.12.8-150400.3.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:typelib-1_0-Flatpak-1_0-1.12.8-150400.3.3.1">typelib-1_0-Flatpak-1_0-1.12.8-150400.3.3.1 as a component of openSUSE Leap 15.4</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. Versions prior to 1.10.8, 1.12.8, 1.14.4, and 1.15.4 contain a vulnerability similar to CVE-2017-5226, but using the `TIOCLINUX` ioctl command instead of `TIOCSTI`. If a Flatpak app is run on a Linux virtual console such as `/dev/tty1`, it can copy text from the virtual console and paste it into the command buffer, from which the command might be run after the Flatpak app has exited. Ordinary graphical terminal emulators like xterm, gnome-terminal and Konsole are unaffected. This vulnerability is specific to the Linux virtual consoles `/dev/tty1`, `/dev/tty2` and so on. A patch is available in versions 1.10.8, 1.12.8, 1.14.4, and 1.15.4. As a workaround, don't run Flatpak on a Linux virtual console. Flatpak is primarily designed to be used in a Wayland or X11 graphical environment.</Note>
    </Notes>
    <CVE>CVE-2023-28100</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Desktop Applications 15 SP4:flatpak-1.12.8-150400.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Desktop Applications 15 SP4:flatpak-devel-1.12.8-150400.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Desktop Applications 15 SP4:flatpak-zsh-completion-1.12.8-150400.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Desktop Applications 15 SP4:libflatpak0-1.12.8-150400.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Desktop Applications 15 SP4:system-user-flatpak-1.12.8-150400.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Desktop Applications 15 SP4:typelib-1_0-Flatpak-1_0-1.12.8-150400.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.4:flatpak-1.12.8-150400.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.4:flatpak-devel-1.12.8-150400.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.4:flatpak-zsh-completion-1.12.8-150400.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libflatpak0-1.12.8-150400.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.4:system-user-flatpak-1.12.8-150400.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.4:typelib-1_0-Flatpak-1_0-1.12.8-150400.3.3.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/2023/suse-su-20231715-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-28100.html</URL>
        <Description>CVE-2023-28100</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1209411</URL>
        <Description>SUSE Bug 1209411</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">Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. In versions prior to 1.10.8, 1.12.8, 1.14.4, and 1.15.4, if an attacker publishes a Flatpak app with elevated permissions, they can hide those permissions from users of the `flatpak(1)` command-line interface by setting other permissions to crafted values that contain non-printable control characters such as `ESC`. A fix is available in versions 1.10.8, 1.12.8, 1.14.4, and 1.15.4. As a workaround, use a GUI like GNOME Software rather than the command-line interface, or only install apps whose maintainers you trust.</Note>
    </Notes>
    <CVE>CVE-2023-28101</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Desktop Applications 15 SP4:flatpak-1.12.8-150400.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Desktop Applications 15 SP4:flatpak-devel-1.12.8-150400.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Desktop Applications 15 SP4:flatpak-zsh-completion-1.12.8-150400.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Desktop Applications 15 SP4:libflatpak0-1.12.8-150400.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Desktop Applications 15 SP4:system-user-flatpak-1.12.8-150400.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Desktop Applications 15 SP4:typelib-1_0-Flatpak-1_0-1.12.8-150400.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.4:flatpak-1.12.8-150400.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.4:flatpak-devel-1.12.8-150400.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.4:flatpak-zsh-completion-1.12.8-150400.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libflatpak0-1.12.8-150400.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.4:system-user-flatpak-1.12.8-150400.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.4:typelib-1_0-Flatpak-1_0-1.12.8-150400.3.3.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/2023/suse-su-20231715-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-28101.html</URL>
        <Description>CVE-2023-28101</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1209410</URL>
        <Description>SUSE Bug 1209410</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
