CVE-2021-43860
published high CVSS 3.1 · 8.2Permissions granted to applications can be hidden from the user at install time
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| flatpak | — | flatpak>= 1.11.0, < 1.12.3 · < 1.10.6 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2518 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | flatpak | Advisory build | 1.8.7-1.el8 | ALSA-2022:1792 |
| Alpine Linux | edge | flatpak | Fixed | 1.12.3-r0 | Package fix record |
| Debian | bullseye | flatpak | Advisory build | 1.10.7-0+deb11u1 | DSA-5049-1 |
| Oracle Linux | 8 | flatpakaarch64 | Advisory build | 0:1.8.7-1.el8 | ELSA-2022-1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpakaarch64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP1 | flatpakaarch64 | Advisory build | 1.2.3-150100.4.8.1 | SUSE-SU-2022:3284-1 |
| Alpine Linux | v3.15 | flatpak | Fixed | 1.12.3-r0 | Package fix record |
| Alpine Linux | v3.16 | flatpak | Fixed | 1.12.3-r0 | Package fix record |
| Alpine Linux | v3.17 | flatpak | Fixed | 1.12.3-r0 | Package fix record |
| Alpine Linux | v3.18 | flatpak | Fixed | 1.12.3-r0 | Package fix record |
| Alpine Linux | v3.19 | flatpak | Fixed | 1.12.3-r0 | Package fix record |
| Alpine Linux | v3.20 | flatpak | Fixed | 1.12.3-r0 | Package fix record |
| Alpine Linux | v3.21 | flatpak | Fixed | 1.12.3-r0 | Package fix record |
| Alpine Linux | v3.22 | flatpak | Fixed | 1.12.3-r0 | Package fix record |
| Alpine Linux | v3.23 | flatpak | Fixed | 1.12.3-r0 | Package fix record |
| Alpine Linux | v3.24 | flatpak | Fixed | 1.12.3-r0 | Package fix record |
| Oracle Linux | 8 | flatpakx86_64 | Advisory build | 0:1.8.7-1.el8 | ELSA-2022-1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpaki686 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpakppc64le | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpaks390x | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpaksrc | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpakx86_64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| SUSE / openSUSE | SLE-15-SP1 | flatpakppc64le | Advisory build | 1.2.3-150100.4.8.1 | SUSE-SU-2022:3284-1 |
| SUSE / openSUSE | SLE-15-SP1 | flatpaks390x | Advisory build | 1.2.3-150100.4.8.1 | SUSE-SU-2022:3284-1 |
| SUSE / openSUSE | SLE-15-SP1 | flatpakx86_64 | Advisory build | 1.2.3-150100.4.8.1 | SUSE-SU-2022:3284-1 |
| SUSE / openSUSE | SLE-15-SP2 | flatpakaarch64 | Advisory build | 1.10.7-4.12.1 | SUSE-SU-2022:0712-1 |
| SUSE / openSUSE | SLE-15-SP2 | flatpakppc64le | Advisory build | 1.10.7-4.12.1 | SUSE-SU-2022:0712-1 |
| SUSE / openSUSE | SLE-15-SP2 | flatpaks390x | Advisory build | 1.10.7-4.12.1 | SUSE-SU-2022:0712-1 |
| SUSE / openSUSE | SLE-15-SP2 | flatpakx86_64 | Advisory build | 1.10.7-4.12.1 | SUSE-SU-2022:0712-1 |
| SUSE / openSUSE | SLE-15-SP3 | flatpakaarch64 | Advisory build | 1.10.7-4.12.1 | SUSE-SU-2022:0712-1 |
| SUSE / openSUSE | SLE-15-SP3 | flatpakppc64le | Advisory build | 1.10.7-4.12.1 | SUSE-SU-2022:0712-1 |
| SUSE / openSUSE | SLE-15-SP3 | flatpaks390x | Advisory build | 1.10.7-4.12.1 | SUSE-SU-2022:0712-1 |
| SUSE / openSUSE | SLE-15-SP3 | flatpakx86_64 | Advisory build | 1.10.7-4.12.1 | SUSE-SU-2022:0712-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | flatpakaarch64 | Advisory build | 1.10.7-4.12.1 | OPENSUSE-SU-2022:0712-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | flatpakppc64le | Advisory build | 1.10.7-4.12.1 | OPENSUSE-SU-2022:0712-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | flatpaks390x | Advisory build | 1.10.7-4.12.1 | OPENSUSE-SU-2022:0712-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | flatpakx86_64 | Advisory build | 1.10.7-4.12.1 | OPENSUSE-SU-2022:0712-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flatpakaarch64 | Advisory build | 1.12.3-1.1 | OPENSUSE-SU-2024:11740-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flatpakppc64le | Advisory build | 1.12.3-1.1 | OPENSUSE-SU-2024:11740-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flatpaks390x | Advisory build | 1.12.3-1.1 | OPENSUSE-SU-2024:11740-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flatpakx86_64 | Advisory build | 1.12.3-1.1 | OPENSUSE-SU-2024:11740-1 |
| AlmaLinux | 8 | flatpak-devel | Advisory build | 1.8.7-1.el8 | ALSA-2022:1792 |
| AlmaLinux | 8 | flatpak-libs | Advisory build | 1.8.7-1.el8 | ALSA-2022:1792 |
| AlmaLinux | 8 | flatpak-selinux | Advisory build | 1.8.7-1.el8 | ALSA-2022:1792 |
| AlmaLinux | 8 | flatpak-session-helper | Advisory build | 1.8.7-1.el8 | ALSA-2022:1792 |
| Oracle Linux | 8 | flatpak-develaarch64 | Advisory build | 0:1.8.7-1.el8 | ELSA-2022-1792 |
| Oracle Linux | 8 | flatpak-develx86_64 | Advisory build | 0:1.8.7-1.el8 | ELSA-2022-1792 |
| Oracle Linux | 8 | flatpak-libsaarch64 | Advisory build | 0:1.8.7-1.el8 | ELSA-2022-1792 |
| Oracle Linux | 8 | flatpak-libsx86_64 | Advisory build | 0:1.8.7-1.el8 | ELSA-2022-1792 |
| Oracle Linux | 8 | flatpak-selinuxaarch64 | Advisory build | 0:1.8.7-1.el8 | ELSA-2022-1792 |
| Oracle Linux | 8 | flatpak-selinuxx86_64 | Advisory build | 0:1.8.7-1.el8 | ELSA-2022-1792 |
| Oracle Linux | 8 | flatpak-session-helperaarch64 | Advisory build | 0:1.8.7-1.el8 | ELSA-2022-1792 |
| Oracle Linux | 8 | flatpak-session-helperx86_64 | Advisory build | 0:1.8.7-1.el8 | ELSA-2022-1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-debuginfoaarch64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-debuginfoi686 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-debuginfoppc64le | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-debuginfos390x | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-debuginfox86_64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-debugsourceaarch64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-debugsourcei686 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-debugsourceppc64le | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-debugsources390x | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-debugsourcex86_64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-develaarch64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-develi686 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-develppc64le | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-devels390x | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-develx86_64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-libsaarch64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-libsi686 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-libsppc64le | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-libss390x | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-libsx86_64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-libs-debuginfoaarch64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-libs-debuginfoi686 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-libs-debuginfoppc64le | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-libs-debuginfos390x | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-libs-debuginfox86_64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-selinuxnoarch | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-session-helperaarch64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-session-helperi686 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-session-helperppc64le | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-session-helpers390x | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-session-helperx86_64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-session-helper-debuginfoaarch64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-session-helper-debuginfoi686 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-session-helper-debuginfoppc64le | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-session-helper-debuginfos390x | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-session-helper-debuginfox86_64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-tests-debuginfoaarch64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-tests-debuginfoi686 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-tests-debuginfoppc64le | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-tests-debuginfos390x | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| Red Hat Enterprise Linux | RHEL-8 | flatpak-tests-debuginfox86_64 | Advisory build | 1.8.7-1.el8 | RHSA-2022:1792 |
| SUSE / openSUSE | SLE-15-SP1 | flatpak-develaarch64 | Advisory build | 1.2.3-150100.4.8.1 | SUSE-SU-2022:3284-1 |
| SUSE / openSUSE | SLE-15-SP1 | flatpak-develppc64le | Advisory build | 1.2.3-150100.4.8.1 | SUSE-SU-2022:3284-1 |
| SUSE / openSUSE | SLE-15-SP1 | flatpak-devels390x | Advisory build | 1.2.3-150100.4.8.1 | SUSE-SU-2022:3284-1 |
| SUSE / openSUSE | SLE-15-SP1 | flatpak-develx86_64 | Advisory build | 1.2.3-150100.4.8.1 | SUSE-SU-2022:3284-1 |
| SUSE / openSUSE | SLE-15-SP1 | flatpak-zsh-completionaarch64 | Advisory build | 1.2.3-150100.4.8.1 | SUSE-SU-2022:3284-1 |
| SUSE / openSUSE | SLE-15-SP1 | flatpak-zsh-completionppc64le | Advisory build | 1.2.3-150100.4.8.1 | SUSE-SU-2022:3284-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Flatpak is a Linux application sandboxing and distribution framework. Prior to versions 1.12.3 and 1.10.6, Flatpak doesn't properly validate that the permissions displayed to the user for an app at install time match the actual permissions granted to the app at runtime, in the case that there's a null byte in the metadata file of an app. Therefore apps can grant themselves permissions without the consent of the user. Flatpak shows permissions to the user during install by reading them from the "xa.metadata" key in the commit metadata. This cannot contain a null terminator, because it is an untrusted GVariant. Flatpak compares these permissions to the *actual* metadata, from the "metadata" file to ensure it wasn't lied to. However, the actual metadata contents are loaded in several places where they are read as simple C-style strings. That means that, if the metadata file includes a null terminator, only the content of the file from *before* the terminator gets compared to xa.metadata. Thus, any permissions that appear in the metadata file after a null terminator are applied at runtime but not shown to the user. So maliciously crafted apps can give themselves hidden permissions. Users who have Flatpaks installed from untrusted sources are at risk in case the Flatpak has a maliciously crafted metadata file, either initially or in an update. This issue is patched in versions 1.12.3 and 1.10.6. As a workaround, users can manually check the permissions of installed apps by checking the metadata file or the xa.metadata key on the commit metadata.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| flatpak | flatpak | >= 1.11.0, < 1.12.3 (affected)< 1.10.6 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-269 CWE-269: Improper Privilege Management
References
11- https://github.com/flatpak/flatpak/commit/54ec1a482dfc668127eaae57f135e6a8e0bc52da
- https://github.com/flatpak/flatpak/commit/65cbfac982cb1c83993a9e19aa424daee8e9f042
- https://github.com/flatpak/flatpak/commit/93357d357119093804df05acc32ff335839c6451
- https://github.com/flatpak/flatpak/commit/ba818f504c926baaf6e362be8159cfacf994310e
- https://github.com/flatpak/flatpak/commit/d9a8f9d8ccc0b7c1135d0ecde006a75d25f66aee
- https://github.com/flatpak/flatpak/releases/tag/1.10.6
- https://github.com/flatpak/flatpak/releases/tag/1.12.3
- https://github.com/flatpak/flatpak/security/advisories/GHSA-qpjc-vq3c-572j
- FEDORA-2022-825ca6bf2b https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APFTBYGJJVJPFVHRXUW5PII5XOAFI4KH/
- GLSA-202312-12 https://security.gentoo.org/glsa/202312-12
- DSA-5049 https://www.debian.org/security/2022/dsa-5049
Provider assertions
2GitHub_M · cna
Permissions granted to applications can be hidden from the user at install time
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bd5bfb56bee070825e0118c01a33c1fb49acc60c213d00330a3bb1569e8c3e2f
- Ingested
- 23 Sep 2026, 07:56:36 UTC
- Source record
- Official CVE record