You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
NIST has updated the
NVD program announcement page with additional information regarding
recent concerns and the temporary delays in enrichment efforts.
CVE-2021-21261
Detail
Description
Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. A bug was discovered in the `flatpak-portal` service that can allow sandboxed applications to execute arbitrary code on the host system (a sandbox escape). This sandbox-escape bug is present in versions from 0.11.4 and before fixed versions 1.8.5 and 1.10.0. The Flatpak portal D-Bus service (`flatpak-portal`, also known by its D-Bus service name `org.freedesktop.portal.Flatpak`) allows apps in a Flatpak sandbox to launch their own subprocesses in a new sandbox instance, either with the same security settings as the caller or with more restrictive security settings. For example, this is used in Flatpak-packaged web browsers such as Chromium to launch subprocesses that will process untrusted web content, and give those subprocesses a more restrictive sandbox than the browser itself. In vulnerable versions, the Flatpak portal service passes caller-specified environment variables to non-sandboxed processes on the host system, and in particular to the `flatpak run` command that is used to launch the new sandbox instance. A malicious or compromised Flatpak app could set environment variables that are trusted by the `flatpak run` command, and use them to execute arbitrary code that is not in a sandbox. As a workaround, this vulnerability can be mitigated by preventing the `flatpak-portal` service from starting, but that mitigation will prevent many Flatpak apps from working correctly. This is fixed in versions 1.8.5 and 1.10.0.
NVD Analysts use publicly available information to associate vector strings and CVSS scores. We also display any CVSS information provided within the CVE List from the CNA.
Note: It is possible that the NVD CVSS may not match that of the CNA. The most common reason for this is that publicly available information does not provide sufficient detail or that information simply was not available at the time the CVSS vector string was assigned.
NVD Analysts use publicly available information to associate vector strings and CVSS scores. We also display any CVSS information provided within the CVE List from the CNA.
Note: NVD Analysts have published a CVSS score for this CVE based on publicly available information at the time of analysis. The CNA has not provided a score within the CVE List.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to nvd@nist.gov.
Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. A bug was discovered in the `flatpak-portal` service that can allow sandboxed applications to execute arbitrary code on the host system (a sandbox escape). This sandbox-escape bug is present in versions from 0.11.4 and before fixed versions 1.8.5 and 1.9.4. The Flatpak portal D-Bus service (`flatpak-portal`, also known by its D-Bus service name `org.freedesktop.portal.Flatpak`) allows apps in a F
Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. A bug was discovered in the `flatpak-portal` service that can allow sandboxed applications to execute arbitrary code on the host system (a sandbox escape). This sandbox-escape bug is present in versions from 0.11.4 and before fixed versions 1.8.5 and 1.10.0. The Flatpak portal D-Bus service (`flatpak-portal`, also known by its D-Bus service name `org.freedesktop.portal.Flatpak`) allows apps in a
https://github.com/flatpak/flatpak/commit/57416f380600d9754df12baf5b227144ff1bb54d [Patch, Third Party Advisory]
Removed
Reference
https://github.com/flatpak/flatpak/commit/6a11007021658518c088ba0cc5e4da27962a940a [Patch, Third Party Advisory]
Removed
Reference
https://github.com/flatpak/flatpak/commit/dcd24941c7087c5f7e8033abe50b178ac02a34af [Patch, Third Party Advisory]
Removed
Reference
https://github.com/flatpak/flatpak/commit/fb1eaefbceeb73f02eb1bc85865d74a414faf8b8 [Patch, Third Party Advisory]
Initial Analysis by NIST1/21/2021 8:49:11 PM
Action
Type
Old Value
New Value
Added
CPE Configuration
OR
*cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:* versions from (including) 0.11.4 up to (excluding) 1.8.5
*cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:* versions from (including) 1.9.1 up to (excluding) 1.10.0
Added
CPE Configuration
OR
*cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Added
CVSS V2
NIST (AV:L/AC:L/Au:N/C:C/I:C/A:C)
Added
CVSS V3.1
NIST AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
Changed
Reference Type
https://github.com/flatpak/flatpak/commit/57416f380600d9754df12baf5b227144ff1bb54d No Types Assigned
https://github.com/flatpak/flatpak/commit/57416f380600d9754df12baf5b227144ff1bb54d Patch, Third Party Advisory
Changed
Reference Type
https://github.com/flatpak/flatpak/commit/6a11007021658518c088ba0cc5e4da27962a940a No Types Assigned
https://github.com/flatpak/flatpak/commit/6a11007021658518c088ba0cc5e4da27962a940a Patch, Third Party Advisory
Changed
Reference Type
https://github.com/flatpak/flatpak/commit/dcd24941c7087c5f7e8033abe50b178ac02a34af No Types Assigned
https://github.com/flatpak/flatpak/commit/dcd24941c7087c5f7e8033abe50b178ac02a34af Patch, Third Party Advisory
Changed
Reference Type
https://github.com/flatpak/flatpak/commit/fb1eaefbceeb73f02eb1bc85865d74a414faf8b8 No Types Assigned
https://github.com/flatpak/flatpak/commit/fb1eaefbceeb73f02eb1bc85865d74a414faf8b8 Patch, Third Party Advisory
Changed
Reference Type
https://github.com/flatpak/flatpak/releases/tag/1.8.5 No Types Assigned
https://github.com/flatpak/flatpak/releases/tag/1.8.5 Third Party Advisory
Changed
Reference Type
https://github.com/flatpak/flatpak/security/advisories/GHSA-4ppf-fxf6-vxg2 No Types Assigned
https://github.com/flatpak/flatpak/security/advisories/GHSA-4ppf-fxf6-vxg2 Third Party Advisory
Changed
Reference Type
https://www.debian.org/security/2021/dsa-4830 No Types Assigned
https://www.debian.org/security/2021/dsa-4830 Third Party Advisory