{"id":"USN-4721-1","summary":"flatpak vulnerability","details":"Simon McVittie discovered that flatpak-portal service allowed sandboxed\napplications to execute arbitrary code on the host system (a sandbox\nescape). A malicious user could create a Flatpak application that set\nenvironment variables, trusted by the Flatpak \"run\" command, and use it\nto execute arbitrary code outside the sandbox.\n","modified":"2026-02-10T04:42:02Z","published":"2021-02-04T19:45:36Z","related":["UBUNTU-CVE-2021-21261"],"upstream":["CVE-2021-21261","UBUNTU-CVE-2021-21261"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4721-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-21261"}],"affected":[{"package":{"name":"flatpak","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/flatpak@1.0.9-0ubuntu0.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.9-0ubuntu0.2"}]}],"versions":["0.8.7-5","0.10.0-1","0.10.0-2","0.10.1-1","0.10.2-1","0.10.2.1-1","0.10.2.1-2","0.10.3-1","0.11.1-0ubuntu1","0.11.3-2","0.11.3-3","0.11.7-0ubuntu0.1","1.0.1-0ubuntu0.1","1.0.6-0ubuntu0.1","1.0.7-0ubuntu0.18.04.1","1.0.8-0ubuntu0.18.04.1","1.0.9-0ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.0.9-0ubuntu0.2","binary_name":"flatpak"},{"binary_version":"1.0.9-0ubuntu0.2","binary_name":"flatpak-tests"},{"binary_version":"1.0.9-0ubuntu0.2","binary_name":"gir1.2-flatpak-1.0"},{"binary_version":"1.0.9-0ubuntu0.2","binary_name":"libflatpak-dev"},{"binary_version":"1.0.9-0ubuntu0.2","binary_name":"libflatpak0"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2021-21261","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4721-1.json"}},{"package":{"name":"flatpak","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/flatpak@1.6.5-0ubuntu0.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.5-0ubuntu0.2"}]}],"versions":["1.4.3-1","1.6.0-1","1.6.1-1","1.6.2-1","1.6.3-1","1.6.5-0ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.6.5-0ubuntu0.2","binary_name":"flatpak"},{"binary_version":"1.6.5-0ubuntu0.2","binary_name":"flatpak-tests"},{"binary_version":"1.6.5-0ubuntu0.2","binary_name":"gir1.2-flatpak-1.0"},{"binary_version":"1.6.5-0ubuntu0.2","binary_name":"libflatpak-dev"},{"binary_version":"1.6.5-0ubuntu0.2","binary_name":"libflatpak0"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2021-21261","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4721-1.json"}}],"schema_version":"1.7.3"}