製品・ソフトウェアに関する情報
Flatpak におけるインジェクションに関する脆弱性
Title Flatpak におけるインジェクションに関する脆弱性
Summary

Flatpak には、インジェクションに関する脆弱性が存在します。

Possible impacts 情報を取得される、および情報を改ざんされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date March 10, 2021, midnight
Registration Date Nov. 24, 2021, 3:53 p.m.
Last Update Nov. 24, 2021, 3:53 p.m.
CVSS3.0 : 重要
Score 8.2
Vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
CVSS2.0 : 警告
Score 5.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:N
Affected System
Debian
Debian GNU/Linux 
Fedora Project
Fedora 
Flatpak
Flatpak 0.9.4 以上 1.10.2 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2021年11月24日]
  掲載
Nov. 24, 2021, 3:53 p.m.

NVD Vulnerability Information
CVE-2021-21381
Summary

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. In Flatpack since version 0.9.4 and before version 1.10.2 has a vulnerability in the "file forwarding" feature which can be used by an attacker to gain access to files that would not ordinarily be allowed by the app's permissions. By putting the special tokens `@@` and/or `@@u` in the Exec field of a Flatpak app's .desktop file, a malicious app publisher can trick flatpak into behaving as though the user had chosen to open a target file with their Flatpak app, which automatically makes that file available to the Flatpak app. This is fixed in version 1.10.2. A minimal solution is the first commit "`Disallow @@ and @@U usage in desktop files`". The follow-up commits "`dir: Reserve the whole @@ prefix`" and "`dir: Refuse to export .desktop files with suspicious uses of @@ tokens`" are recommended, but not strictly required. As a workaround, avoid installing Flatpak apps from untrusted sources, or check the contents of the exported `.desktop` files in `exports/share/applications/*.desktop` (typically `~/.local/share/flatpak/exports/share/applications/*.desktop` and `/var/lib/flatpak/exports/share/applications/*.desktop`) to make sure that literal filenames do not follow `@@` or `@@u`.

Publication Date March 12, 2021, 2:15 a.m.
Registration Date March 12, 2021, 10:02 a.m.
Last Update Nov. 21, 2024, 2:48 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:* 0.9.4 1.10.2
Configuration2 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List