Upstream information

CVE-2022-21682 at MITRE

Description

Flatpak is a Linux application sandboxing and distribution framework. A path traversal vulnerability affects versions of Flatpak prior to 1.12.3 and 1.10.6. flatpak-builder applies `finish-args` last in the build. At this point the build directory will have the full access that is specified in the manifest, so running `flatpak build` against it will gain those permissions. Normally this will not be done, so this is not problem. However, if `--mirror-screenshots-url` is specified, then flatpak-builder will launch `flatpak build --nofilesystem=host appstream-utils mirror-screenshots` after finalization, which can lead to issues even with the `--nofilesystem=host` protection. In normal use, the only issue is that these empty directories can be created wherever the user has write permissions. However, a malicious application could replace the `appstream-util` binary and potentially do something more hostile. This has been resolved in Flatpak 1.12.3 and 1.10.6 by changing the behaviour of `--nofilesystem=home` and `--nofilesystem=host`.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 4
Vector AV:N/AC:L/Au:S/C:N/I:P/A:N
Access Vector Network
Access Complexity Low
Authentication Single
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 6.5 6.5
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Attack Vector Network Local
Attack Complexity Low Low
Privileges Required Low Low
User Interaction None None
Scope Unchanged Changed
Confidentiality Impact None None
Integrity Impact High High
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entries: 1194611 [RESOLVED / FIXED], 1194703 [RESOLVED / DUPLICATE]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Enterprise Storage 7.1
SUSE Linux Enterprise Desktop 15 SP3
SUSE Linux Enterprise High Performance Computing 15 SP3
SUSE Linux Enterprise Module for Desktop Applications 15 SP3
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15 SP3
SUSE Manager Proxy 4.2
SUSE Manager Retail Branch Server 4.2
SUSE Manager Server 4.2
  • flatpak >= 1.10.7-4.12.1
  • flatpak-devel >= 1.10.7-4.12.1
  • flatpak-zsh-completion >= 1.10.7-4.12.1
  • libflatpak0 >= 1.10.7-4.12.1
  • system-user-flatpak >= 1.10.7-4.12.1
  • typelib-1_0-Flatpak-1_0 >= 1.10.7-4.12.1
Patchnames:
SUSE-SLE-Module-Desktop-Applications-15-SP3-2022-712
SUSE Enterprise Storage 7
  • flatpak >= 1.10.7-4.12.1
  • flatpak-devel >= 1.10.7-4.12.1
  • flatpak-zsh-completion >= 1.10.7-4.12.1
  • libflatpak0 >= 1.10.7-4.12.1
  • system-user-flatpak >= 1.10.7-4.12.1
  • typelib-1_0-Flatpak-1_0 >= 1.10.7-4.12.1
Patchnames:
SUSE-Storage-7-2022-712
SUSE Liberty Linux 8
  • flatpak-builder >= 1.0.14-2.el8
Patchnames:
RHSA-2022:7458
SUSE Linux Enterprise Desktop 15 SP4
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • flatpak >= 1.12.5-150400.1.11
  • flatpak-builder >= 1.2.2-150400.1.9
  • flatpak-devel >= 1.12.5-150400.1.11
  • flatpak-zsh-completion >= 1.12.5-150400.1.11
  • libflatpak0 >= 1.12.5-150400.1.11
  • system-user-flatpak >= 1.12.5-150400.1.11
  • typelib-1_0-Flatpak-1_0 >= 1.12.5-150400.1.11
Patchnames:
SUSE Linux Enterprise Module for Desktop Applications 15 SP4 GA flatpak-1.12.5-150400.1.11
SUSE Linux Enterprise Module for Development Tools 15 SP4 GA flatpak-builder-1.2.2-150400.1.9
SUSE Linux Enterprise Desktop 15 SP5
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • flatpak >= 1.14.4-150500.1.3
  • flatpak-builder >= 1.2.2-150400.1.9
  • flatpak-devel >= 1.14.4-150500.1.3
  • flatpak-remote-flathub >= 1.14.4-150500.1.3
  • flatpak-zsh-completion >= 1.14.4-150500.1.3
  • libflatpak0 >= 1.14.4-150500.1.3
  • system-user-flatpak >= 1.14.4-150500.1.3
  • typelib-1_0-Flatpak-1_0 >= 1.14.4-150500.1.3
Patchnames:
SUSE Linux Enterprise Module for Desktop Applications 15 SP5 GA flatpak-1.14.4-150500.1.3
SUSE Linux Enterprise Module for Development Tools 15 SP5 GA flatpak-builder-1.2.2-150400.1.9
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS
  • flatpak >= 1.10.7-4.12.1
  • flatpak-devel >= 1.10.7-4.12.1
  • flatpak-zsh-completion >= 1.10.7-4.12.1
  • libflatpak0 >= 1.10.7-4.12.1
  • system-user-flatpak >= 1.10.7-4.12.1
  • typelib-1_0-Flatpak-1_0 >= 1.10.7-4.12.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP2-ESPOS-2022-712
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS
  • flatpak >= 1.10.7-4.12.1
  • flatpak-devel >= 1.10.7-4.12.1
  • flatpak-zsh-completion >= 1.10.7-4.12.1
  • libflatpak0 >= 1.10.7-4.12.1
  • system-user-flatpak >= 1.10.7-4.12.1
  • typelib-1_0-Flatpak-1_0 >= 1.10.7-4.12.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP2-LTSS-2022-712
SUSE Linux Enterprise Module for Desktop Applications 15 SP4
  • flatpak >= 1.12.5-150400.1.11
  • flatpak-devel >= 1.12.5-150400.1.11
  • flatpak-zsh-completion >= 1.12.5-150400.1.11
  • libflatpak0 >= 1.12.5-150400.1.11
  • system-user-flatpak >= 1.12.5-150400.1.11
  • typelib-1_0-Flatpak-1_0 >= 1.12.5-150400.1.11
Patchnames:
SUSE Linux Enterprise Module for Desktop Applications 15 SP4 GA flatpak-1.12.5-150400.1.11
SUSE Linux Enterprise Module for Desktop Applications 15 SP5
  • flatpak >= 1.14.4-150500.1.3
  • flatpak-devel >= 1.14.4-150500.1.3
  • flatpak-remote-flathub >= 1.14.4-150500.1.3
  • flatpak-zsh-completion >= 1.14.4-150500.1.3
  • libflatpak0 >= 1.14.4-150500.1.3
  • system-user-flatpak >= 1.14.4-150500.1.3
  • typelib-1_0-Flatpak-1_0 >= 1.14.4-150500.1.3
Patchnames:
SUSE Linux Enterprise Module for Desktop Applications 15 SP5 GA flatpak-1.14.4-150500.1.3
SUSE Linux Enterprise Module for Development Tools 15 SP4
  • flatpak-builder >= 1.2.2-150400.1.9
Patchnames:
SUSE Linux Enterprise Module for Development Tools 15 SP4 GA flatpak-builder-1.2.2-150400.1.9
SUSE Linux Enterprise Module for Development Tools 15 SP5
  • flatpak-builder >= 1.2.2-150400.1.9
Patchnames:
SUSE Linux Enterprise Module for Development Tools 15 SP5 GA flatpak-builder-1.2.2-150400.1.9
SUSE Linux Enterprise Real Time 15 SP2
  • flatpak >= 1.10.7-4.12.1
  • flatpak-devel >= 1.10.7-4.12.1
  • flatpak-zsh-completion >= 1.10.7-4.12.1
  • libflatpak0 >= 1.10.7-4.12.1
  • system-user-flatpak >= 1.10.7-4.12.1
  • typelib-1_0-Flatpak-1_0 >= 1.10.7-4.12.1
Patchnames:
SUSE-SLE-Product-RT-15-SP2-2022-712
SUSE Linux Enterprise Server 15 SP2-BCL
  • flatpak >= 1.10.7-4.12.1
  • flatpak-devel >= 1.10.7-4.12.1
  • flatpak-zsh-completion >= 1.10.7-4.12.1
  • libflatpak0 >= 1.10.7-4.12.1
  • system-user-flatpak >= 1.10.7-4.12.1
  • typelib-1_0-Flatpak-1_0 >= 1.10.7-4.12.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP2-BCL-2022-712
SUSE Linux Enterprise Server 15 SP2-LTSS
  • flatpak >= 1.10.7-4.12.1
  • flatpak-devel >= 1.10.7-4.12.1
  • flatpak-zsh-completion >= 1.10.7-4.12.1
  • libflatpak0 >= 1.10.7-4.12.1
  • system-user-flatpak >= 1.10.7-4.12.1
  • typelib-1_0-Flatpak-1_0 >= 1.10.7-4.12.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP2-LTSS-2022-712
SUSE Linux Enterprise Server for SAP Applications 15 SP2
  • flatpak >= 1.10.7-4.12.1
  • flatpak-devel >= 1.10.7-4.12.1
  • flatpak-zsh-completion >= 1.10.7-4.12.1
  • libflatpak0 >= 1.10.7-4.12.1
  • system-user-flatpak >= 1.10.7-4.12.1
  • typelib-1_0-Flatpak-1_0 >= 1.10.7-4.12.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP2-2022-712
SUSE Manager Proxy 4.1
  • flatpak >= 1.10.7-4.12.1
  • flatpak-devel >= 1.10.7-4.12.1
  • flatpak-zsh-completion >= 1.10.7-4.12.1
  • libflatpak0 >= 1.10.7-4.12.1
  • system-user-flatpak >= 1.10.7-4.12.1
  • typelib-1_0-Flatpak-1_0 >= 1.10.7-4.12.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Proxy-4.1-2022-712
SUSE Manager Retail Branch Server 4.1
  • flatpak >= 1.10.7-4.12.1
  • flatpak-devel >= 1.10.7-4.12.1
  • flatpak-zsh-completion >= 1.10.7-4.12.1
  • libflatpak0 >= 1.10.7-4.12.1
  • system-user-flatpak >= 1.10.7-4.12.1
  • typelib-1_0-Flatpak-1_0 >= 1.10.7-4.12.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Retail-Branch-Server-4.1-2022-712
SUSE Manager Server 4.1
  • flatpak >= 1.10.7-4.12.1
  • flatpak-devel >= 1.10.7-4.12.1
  • flatpak-zsh-completion >= 1.10.7-4.12.1
  • libflatpak0 >= 1.10.7-4.12.1
  • system-user-flatpak >= 1.10.7-4.12.1
  • typelib-1_0-Flatpak-1_0 >= 1.10.7-4.12.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Server-4.1-2022-712
openSUSE Leap 15.3
  • flatpak >= 1.10.7-4.12.1
  • flatpak-devel >= 1.10.7-4.12.1
  • flatpak-zsh-completion >= 1.10.7-4.12.1
  • libflatpak0 >= 1.10.7-4.12.1
  • system-user-flatpak >= 1.10.7-4.12.1
  • typelib-1_0-Flatpak-1_0 >= 1.10.7-4.12.1
Patchnames:
openSUSE-SLE-15.3-2022-712
openSUSE Leap 15.4
  • flatpak >= 1.12.5-150400.1.11
  • libflatpak0 >= 1.12.5-150400.1.11
  • system-user-flatpak >= 1.12.5-150400.1.11
Patchnames:
openSUSE Leap 15.4 GA flatpak-1.12.5-150400.1.11
openSUSE Tumbleweed
  • flatpak >= 1.12.4-1.1
  • flatpak-builder >= 1.2.2-1.1
  • flatpak-devel >= 1.12.4-1.1
  • flatpak-zsh-completion >= 1.12.4-1.1
  • libflatpak0 >= 1.12.4-1.1
  • system-user-flatpak >= 1.12.4-1.1
  • typelib-1_0-Flatpak-1_0 >= 1.12.4-1.1
Patchnames:
openSUSE Tumbleweed GA flatpak-1.12.4-1.1
openSUSE Tumbleweed GA flatpak-builder-1.2.2-1.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Enterprise Storage 7.1 flatpak Released
SUSE Linux Enterprise Desktop 15 SP5 flatpak-builder Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP5 flatpak-builder Already fixed
SUSE Linux Enterprise Module for Development Tools 15 SP5 flatpak-builder Already fixed
SUSE Linux Enterprise Real Time 15 SP3 flatpak Affected
SUSE Linux Enterprise Server 15 SP5 flatpak-builder Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP4 flatpak Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP4 flatpak-builder Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP5 flatpak-builder Already fixed
SUSE Manager Proxy 4.3 flatpak Already fixed
SUSE Manager Proxy 4.3 flatpak-builder Already fixed
SUSE Manager Retail Branch Server 4.3 flatpak Already fixed
SUSE Manager Retail Branch Server 4.3 flatpak-builder Already fixed
SUSE Manager Server 4.3 flatpak Already fixed
SUSE Manager Server 4.3 flatpak-builder Already fixed
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 flatpak Already fixed
SUSE Linux Enterprise Desktop 15 SP4 flatpak-builder Already fixed
SUSE Linux Enterprise High Performance Computing 15 flatpak Won't fix
SUSE Linux Enterprise High Performance Computing 15 SP1 flatpak Won't fix
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS flatpak Won't fix
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS flatpak Won't fix
SUSE Linux Enterprise High Performance Computing 15 SP2 flatpak Released
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS flatpak Released
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS flatpak Released
SUSE Linux Enterprise High Performance Computing 15 SP3 flatpak Released
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS flatpak Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS flatpak Affected
SUSE Linux Enterprise High Performance Computing 15 SP4 flatpak Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4 flatpak-builder Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS flatpak Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS flatpak-builder Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS flatpak Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS flatpak-builder Already fixed
SUSE Linux Enterprise High Performance Computing 15-ESPOS flatpak Won't fix
SUSE Linux Enterprise High Performance Computing 15-LTSS flatpak Won't fix
SUSE Linux Enterprise Module for Desktop Applications 15 SP2 flatpak Released
SUSE Linux Enterprise Module for Desktop Applications 15 SP3 flatpak Released
SUSE Linux Enterprise Module for Desktop Applications 15 SP4 flatpak Already fixed
SUSE Linux Enterprise Module for Development Tools 15 SP4 flatpak-builder Already fixed
SUSE Linux Enterprise Server 15 SP2 flatpak Released
SUSE Linux Enterprise Server 15 SP2-LTSS flatpak Released
SUSE Linux Enterprise Server 15 SP3 flatpak Released
SUSE Linux Enterprise Server 15 SP3-LTSS flatpak Affected
SUSE Linux Enterprise Server 15 SP4 flatpak Already fixed
SUSE Linux Enterprise Server 15 SP4 flatpak-builder Already fixed
SUSE Linux Enterprise Server 15 SP4-LTSS flatpak Already fixed
SUSE Linux Enterprise Server 15 SP4-LTSS flatpak-builder Already fixed
SUSE Linux Enterprise Server 15-ESPOS flatpak Won't fix
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 flatpak Won't fix
SUSE Linux Enterprise Server Business Critical Linux 15 SP2 flatpak Released
SUSE Linux Enterprise Server for SAP Applications 15 flatpak Won't fix
SUSE Linux Enterprise Server for SAP Applications 15 SP1 flatpak Won't fix
SUSE Linux Enterprise Server for SAP Applications 15 SP2 flatpak Released
SUSE Linux Enterprise Server for SAP Applications 15 SP3 flatpak Released
Products past their end of life and not receiving proactive updates anymore.
SUSE CaaS Platform 4.0 flatpak Won't fix
SUSE Enterprise Storage 6 flatpak Won't fix
SUSE Enterprise Storage 7 flatpak Released
SUSE Linux Enterprise Desktop 15 flatpak Won't fix
SUSE Linux Enterprise Desktop 15 SP1 flatpak Won't fix
SUSE Linux Enterprise Desktop 15 SP2 flatpak Released
SUSE Linux Enterprise Desktop 15 SP3 flatpak Released
SUSE Linux Enterprise Module for Desktop Applications 15 flatpak Won't fix
SUSE Linux Enterprise Module for Desktop Applications 15 SP1 flatpak Won't fix
SUSE Linux Enterprise Real Time 15 SP2 flatpak Released
SUSE Linux Enterprise Real Time 15 SP4 flatpak Already fixed
SUSE Linux Enterprise Real Time 15 SP4 flatpak-builder Already fixed
SUSE Linux Enterprise Server 15 flatpak Won't fix
SUSE Linux Enterprise Server 15 SP1 flatpak Won't fix
SUSE Linux Enterprise Server 15 SP1-BCL flatpak Won't fix
SUSE Linux Enterprise Server 15 SP1-LTSS flatpak Won't fix
SUSE Linux Enterprise Server 15 SP2-BCL flatpak Released
SUSE Linux Enterprise Server 15 SP3-BCL flatpak Affected
SUSE Linux Enterprise Server 15-LTSS flatpak Won't fix
SUSE Manager Proxy 4.0 flatpak Won't fix
SUSE Manager Proxy 4.1 flatpak Released
SUSE Manager Proxy 4.2 flatpak Released
SUSE Manager Retail Branch Server 4.0 flatpak Won't fix
SUSE Manager Retail Branch Server 4.1 flatpak Released
SUSE Manager Retail Branch Server 4.2 flatpak Released
SUSE Manager Server 4.0 flatpak Won't fix
SUSE Manager Server 4.1 flatpak Released
SUSE Manager Server 4.2 flatpak Released


SUSE Timeline for this CVE

CVE page created: Fri Jan 14 05:01:29 2022
CVE page last modified: Fri Apr 19 18:59:06 2024