{"id":"USN-4951-1","summary":"flatpak vulnerability","details":"Anton Lydike discovered that Flatpak did not properly handle special tokens\nin desktop files. An attacker could use this to specially craft a Flatpak\napplication that could escape sandbox confinement.\n","modified":"2026-02-10T04:42:12Z","published":"2021-05-12T02:31:18Z","related":["UBUNTU-CVE-2021-21381"],"upstream":["CVE-2021-21381","UBUNTU-CVE-2021-21381"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4951-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-21381"}],"affected":[{"package":{"name":"flatpak","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/flatpak@1.0.9-0ubuntu0.3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.9-0ubuntu0.3"}]}],"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","1.0.9-0ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"flatpak","binary_version":"1.0.9-0ubuntu0.3"},{"binary_name":"flatpak-tests","binary_version":"1.0.9-0ubuntu0.3"},{"binary_name":"gir1.2-flatpak-1.0","binary_version":"1.0.9-0ubuntu0.3"},{"binary_name":"libflatpak-dev","binary_version":"1.0.9-0ubuntu0.3"},{"binary_name":"libflatpak0","binary_version":"1.0.9-0ubuntu0.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4951-1.json","cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"id":"CVE-2021-21381","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}]}}},{"package":{"name":"flatpak","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/flatpak@1.6.5-0ubuntu0.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.5-0ubuntu0.3"}]}],"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","1.6.5-0ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"flatpak","binary_version":"1.6.5-0ubuntu0.3"},{"binary_name":"flatpak-tests","binary_version":"1.6.5-0ubuntu0.3"},{"binary_name":"gir1.2-flatpak-1.0","binary_version":"1.6.5-0ubuntu0.3"},{"binary_name":"libflatpak-dev","binary_version":"1.6.5-0ubuntu0.3"},{"binary_name":"libflatpak0","binary_version":"1.6.5-0ubuntu0.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4951-1.json","cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"id":"CVE-2021-21381","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}]}}}],"schema_version":"1.7.3"}