CVE编号
CVE-2021-21381利用情况
暂无补丁情况
官方补丁披露时间
2021-03-12漏洞描述
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`.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/flatpak/flatpak/commit/8279c5818425b6812523e3805bbe242fb6a5d961 | |
https://github.com/flatpak/flatpak/commit/a7401e638bf0c03102039e216ab1081922f140ae | |
https://github.com/flatpak/flatpak/commit/eb7946bb6248923d8c90fe9b84425fef97ae580d | |
https://github.com/flatpak/flatpak/pull/4156 | |
https://github.com/flatpak/flatpak/releases/tag/1.10.2 | |
https://github.com/flatpak/flatpak/security/advisories/GHSA-xgh4-387p-hqpp | |
https://lists.fedoraproject.org/archives/list/[email protected]... | |
https://lists.fedoraproject.org/archives/list/[email protected]... | |
https://www.debian.org/security/2021/dsa-4868 |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | flatpak | flatpak | * |
From (including) 0.9.4 |
Up to (excluding) 1.10.2 |
||||
运行在以下环境 | |||||||||
系统 | alibaba_cloud_linux_2.1903 | flatpak | * |
Up to (excluding) 1.0.9-11.1.al7 |
|||||
运行在以下环境 | |||||||||
系统 | amazon_2 | flatpak | * |
Up to (excluding) 1.0.9-10.amzn2.0.1 |
|||||
运行在以下环境 | |||||||||
系统 | centos_7 | flatpak | * |
Up to (excluding) 1.0.0-11.el7_9 |
|||||
运行在以下环境 | |||||||||
系统 | centos_8 | flatpak | * |
Up to (excluding) 1.6.2-6.el8_3 |
|||||
运行在以下环境 | |||||||||
系统 | debian_10 | flatpak | * |
Up to (excluding) 1.2.5-0+deb10u4 |
|||||
运行在以下环境 | |||||||||
系统 | fedora_33 | flatpak | * |
Up to (excluding) 1.10.2-1.fc33 |
|||||
运行在以下环境 | |||||||||
系统 | fedora_34 | flatpak | * |
Up to (excluding) 1.10.2-1.fc34 |
|||||
运行在以下环境 | |||||||||
系统 | oracle_7 | flatpak | * |
Up to (excluding) 1.0.0-11.el7_9 |
|||||
运行在以下环境 | |||||||||
系统 | oracle_8 | flatpak | * |
Up to (excluding) 1.6.2-6.el8_3 |
|||||
运行在以下环境 | |||||||||
系统 | redhat_8 | flatpak | * |
Up to (excluding) 1.6.2-6.el8_3 |
|||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04 | flatpak | * |
Up to (excluding) 1.0.9-0ubuntu0.3 |
|||||
运行在以下环境 | |||||||||
系统 | ubuntu_20.04 | flatpak | * |
Up to (excluding) 1.6.5-0ubuntu0.3 |
|||||
- 攻击路径 远程
- 攻击复杂度 复杂
- 权限要求 无需权限
- 影响范围 越权影响
- EXP成熟度 N/A
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
还没有评论,来说两句吧...