7.7

CVE-2022-21682: debian debian_linux Path Traversal

CVSS: 7.7v3.1HighModified
AliasesRHSA-2022:7458UBUNTU-CVE-2022-21682DEBIAN-CVE-2022-21682
Published 13-01-2022Last modified 03-08-2024

Vulnerability summary

CVE-2022-21682 is a high (CVSS 7.7) Path Traversal vulnerability in debian debian_linux. EPSS estimates a 1.68% chance of exploitation in the next 30 days, higher than 76.6% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.7/10
010
High · v3.1 (CVE.org)
EPSS score
1.68%
0%100%
Low · 0.00 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 2

Timeline

  1. 13-01-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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`.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.68%

Chance of exploitation in the next 30 days

Percentile

77%

Versus all other CVEs

30-day change

0.00 pp

From 1.68% on 20-09-2026

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

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

Redhat4 products
  • enterprise_linux8.0
  • flatpak-builder< 0:1.0.14-2.el8
  • flatpak-builder-debuginfo< 0:1.0.14-2.el8
  • flatpak-builder-debugsource< 0:1.0.14-2.el8
Debian2 products
Flatpak2 products
Opensuse2 products
  • flatpak-builder&distro=openSUSE Tumbleweed< 1.2.2-1.1
  • flatpak&distro=openSUSE Tumbleweed< 1.12.4-1.1
Fedoraproject1 product
Ubuntu1 product
  • flatpakAll versions (No fix recorded)

6 vendors · 12 products

References

19 links
Show all 19 references