Anton Lydike discovered that Flatpak did not properly handle special tokens in desktop files. An attacker could use this to specially craft a Flatpak application that could escape sandbox confinement.
{
"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"
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4951-1.json"
{
"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"
}
]
}
]
}
{
"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"
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4951-1.json"
{
"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"
}
]
}
]
}