8.8

CVE-2021-21261: debian debian_linux Injection

CVSS: 8.8v3.1HighModified
AliasesSUSE-SU-2021:1094-1RHSA-2021:0304RHSA-2021:0306
Published 14-01-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-21261 is a high (CVSS 8.8) Injection vulnerability in debian debian_linux. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 47.4% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
0.60%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 3

Timeline

  1. 14-01-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.60%

Chance of exploitation in the next 30 days

Percentile

47%

Versus all other CVEs

30-day change

+0.03 pp

From 0.57% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.60%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat11 products
  • flatpak< 0:1.6.2-5.el8_3 | < 0:1.0.9-3.el8_1 | < 0:1.6.2-4.el8_2 | < 0:1.0.9-10.el7_9
  • flatpak-builder< 0:1.0.0-10.el7_9
  • flatpak-debuginfo< 0:1.6.2-5.el8_3 | < 0:1.0.9-3.el8_1 | < 0:1.6.2-4.el8_2 | < 0:1.0.9-10.el7_9
  • flatpak-debugsource< 0:1.6.2-5.el8_3 | < 0:1.0.9-3.el8_1 | < 0:1.6.2-4.el8_2
  • flatpak-devel< 0:1.0.9-10.el7_9
Suse5 products
  • flatpak&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP2< 1.10.2-4.6.1
  • libostree&distro=SUSE Linux Enterprise Module for Basesystem 15 SP2< 2020.8-3.3.2
  • libostree&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP2< 2020.8-3.3.2
  • xdg-desktop-portal-gtk&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP2< 1.8.0-3.3.1
  • xdg-desktop-portal&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP2< 1.8.0-5.3.2
Opensuse4 products
  • flatpak&distro=openSUSE Leap 15.2< 1.10.2-lp152.3.6.1
  • libostree&distro=openSUSE Leap 15.2< 2020.8-lp152.2.3.1
  • xdg-desktop-portal-gtk&distro=openSUSE Leap 15.2< 1.8.0-lp152.2.3.1
  • xdg-desktop-portal&distro=openSUSE Leap 15.2< 1.8.0-lp152.4.3.1
Debian2 products
Flatpak1 product
  • flatpak≥ 1.9.0, < 1.10.0 | ≥ 0.11.4, < 1.8.5 | ≥ 1.9.1, < 1.10.0
Ubuntu1 product
  • flatpak< 1.0.9-0ubuntu0.2 | < 1.6.5-0ubuntu0.2

6 vendors · 24 products

References

31 links
Show all 31 references