<?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:1712-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2023-03-31T12:03:46Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2023-03-31T12:03:46Z</InitialReleaseDate>
    <CurrentReleaseDate>2023-03-31T12:03:46Z</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).
</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-1712,SUSE-SLE-SERVER-12-SP5-2023-1712</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-20231712-1/</URL>
      <Description>Link for SUSE-SU-2023:1712-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-updates/2023-March/028540.html</URL>
      <Description>E-Mail link for SUSE-SU-2023:1712-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 Server 12 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP5" CPE="cpe:/o:suse:sles:12:sp5">SUSE Linux Enterprise Server 12 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP5" CPE="cpe:/o:suse:sles_sap:12:sp5">SUSE Linux Enterprise Server for SAP Applications 12 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="flatpak-1.4.2-3.3.1">
      <FullProductName ProductID="flatpak-1.4.2-3.3.1">flatpak-1.4.2-3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="flatpak-devel-1.4.2-3.3.1">
      <FullProductName ProductID="flatpak-devel-1.4.2-3.3.1">flatpak-devel-1.4.2-3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="flatpak-zsh-completion-1.4.2-3.3.1">
      <FullProductName ProductID="flatpak-zsh-completion-1.4.2-3.3.1">flatpak-zsh-completion-1.4.2-3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libflatpak0-1.4.2-3.3.1">
      <FullProductName ProductID="libflatpak0-1.4.2-3.3.1">libflatpak0-1.4.2-3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="typelib-1_0-Flatpak-1_0-1.4.2-3.3.1">
      <FullProductName ProductID="typelib-1_0-Flatpak-1_0-1.4.2-3.3.1">typelib-1_0-Flatpak-1_0-1.4.2-3.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="flatpak-1.4.2-3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP5:flatpak-1.4.2-3.3.1">flatpak-1.4.2-3.3.1 as a component of SUSE Linux Enterprise Server 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libflatpak0-1.4.2-3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP5:libflatpak0-1.4.2-3.3.1">libflatpak0-1.4.2-3.3.1 as a component of SUSE Linux Enterprise Server 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="typelib-1_0-Flatpak-1_0-1.4.2-3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP5:typelib-1_0-Flatpak-1_0-1.4.2-3.3.1">typelib-1_0-Flatpak-1_0-1.4.2-3.3.1 as a component of SUSE Linux Enterprise Server 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="flatpak-1.4.2-3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP5:flatpak-1.4.2-3.3.1">flatpak-1.4.2-3.3.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libflatpak0-1.4.2-3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP5:libflatpak0-1.4.2-3.3.1">libflatpak0-1.4.2-3.3.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="typelib-1_0-Flatpak-1_0-1.4.2-3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP5:typelib-1_0-Flatpak-1_0-1.4.2-3.3.1">typelib-1_0-Flatpak-1_0-1.4.2-3.3.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP5</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 Server 12 SP5:flatpak-1.4.2-3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP5:libflatpak0-1.4.2-3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP5:typelib-1_0-Flatpak-1_0-1.4.2-3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP5:flatpak-1.4.2-3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP5:libflatpak0-1.4.2-3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP5:typelib-1_0-Flatpak-1_0-1.4.2-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-20231712-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 Server 12 SP5:flatpak-1.4.2-3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP5:libflatpak0-1.4.2-3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP5:typelib-1_0-Flatpak-1_0-1.4.2-3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP5:flatpak-1.4.2-3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP5:libflatpak0-1.4.2-3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP5:typelib-1_0-Flatpak-1_0-1.4.2-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-20231712-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>
