{"id":"UBUNTU-CVE-2021-44730","details":"snapd 2.54.2 did not properly validate the location of the snap-confine binary. A local attacker who can hardlink this binary to another location to cause snap-confine to execute other arbitrary binaries and hence gain privilege escalation. Fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04 and 2.54.3+21.10.1","modified":"2026-01-30T02:28:06.212841Z","published":"2022-02-17T17:00:00Z","related":["USN-5292-1","USN-5292-2","USN-5292-3"],"upstream":["CVE-2021-44730"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-44730"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5292-1"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2022/02/17/2"},{"type":"REPORT","url":"https://github.com/snapcore/snapd/commit/f3f669d720ed8b0bcb73da7789843bf43b5c16cf"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-44730"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5292-3"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5292-2"}],"affected":[{"package":{"name":"snapd","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/snapd@2.54.3+14.04~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.54.3+14.04~esm1"}]}],"versions":["2.21~14.04.2","2.22.2~14.04","2.22.3~14.04","2.22.6~14.04","2.23.1~14.04","2.24.1~14.04","2.25~14.04","2.26.10~14.04","2.27.5~14.04","2.28.5~14.04","2.29.4.2~14.04","2.32.3.2~14.04","2.32.9~14.04","2.33.1~14.04","2.34.2~14.04","2.34.2~14.04.1","2.37.4~14.04.1","2.38~14.04"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"golang-github-snapcore-snapd-dev","binary_version":"2.54.3+14.04~esm1"},{"binary_version":"2.54.3+14.04~esm1","binary_name":"golang-github-ubuntu-core-snappy-dev"},{"binary_name":"snap-confine","binary_version":"2.54.3+14.04~esm1"},{"binary_name":"snapd","binary_version":"2.54.3+14.04~esm1"},{"binary_name":"snapd-xdg-open","binary_version":"2.54.3+14.04~esm1"},{"binary_name":"ubuntu-core-launcher","binary_version":"2.54.3+14.04~esm1"},{"binary_name":"ubuntu-core-snapd-units","binary_version":"2.54.3+14.04~esm1"},{"binary_name":"ubuntu-snappy","binary_version":"2.54.3+14.04~esm1"},{"binary_name":"ubuntu-snappy-cli","binary_version":"2.54.3+14.04~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44730.json"}},{"package":{"name":"snapd","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/snapd@2.54.3+16.04~esm2?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.54.3+16.04~esm2"}]}],"versions":["1.9","1.9.1.1","1.9.2","2.0","2.0.1","2.0.2","2.0.3","2.0.5","2.0.8","2.0.9","2.0.10","2.11+0.16.04","2.12+0.16.04","2.13","2.14.2~16.04","2.15.2ubuntu1","2.16ubuntu3","2.17.1ubuntu1","2.20.1ubuntu1","2.21","2.22.2","2.22.3","2.22.6","2.23.1","2.24.1","2.25","2.26.10","2.27.5","2.28.5","2.29.4.2","2.32.3.2","2.32.9","2.33.1ubuntu2","2.34.2","2.34.2ubuntu0.1","2.37.4","2.37.4ubuntu0.1","2.38","2.39.2","2.39.2ubuntu0.2","2.40","2.42.1","2.45.1","2.45.1ubuntu0.2","2.46.1","2.47.1","2.48","2.48.3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"golang-github-snapcore-snapd-dev","binary_version":"2.54.3+16.04~esm2"},{"binary_name":"golang-github-ubuntu-core-snappy-dev","binary_version":"2.54.3+16.04~esm2"},{"binary_name":"snap-confine","binary_version":"2.54.3+16.04~esm2"},{"binary_name":"snapd","binary_version":"2.54.3+16.04~esm2"},{"binary_version":"2.54.3+16.04~esm2","binary_name":"snapd-xdg-open"},{"binary_name":"ubuntu-core-launcher","binary_version":"2.54.3+16.04~esm2"},{"binary_name":"ubuntu-core-snapd-units","binary_version":"2.54.3+16.04~esm2"},{"binary_version":"2.54.3+16.04~esm2","binary_name":"ubuntu-snappy"},{"binary_name":"ubuntu-snappy-cli","binary_version":"2.54.3+16.04~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44730.json"}},{"package":{"name":"snapd","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/snapd@2.54.3+18.04?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.54.3+18.04"}]}],"versions":["2.28.5+17.10","2.29.4.1+18.04","2.29.4.2+18.04","2.31.1+18.04","2.32+18.04~pre5","2.32+18.04~pre6","2.32+18.04","2.32.3.2+18.04","2.32.5+18.04","2.32.8+18.04","2.32.9+18.04","2.33.1+18.04ubuntu2","2.34.2+18.04","2.34.2+18.04.1","2.37.1+18.04","2.37.1.1+18.04","2.37.4+18.04","2.37.4+18.04.1","2.38+18.04","2.39.2+18.04","2.40+18.04","2.42.1+18.04","2.45.1+18.04","2.45.1+18.04.2","2.46.1+18.04","2.47.1+18.04","2.48+18.04","2.48.3+18.04","2.49.2+18.04","2.51.1+18.04","2.54.2+18.04ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.54.3+18.04","binary_name":"golang-github-snapcore-snapd-dev"},{"binary_name":"golang-github-ubuntu-core-snappy-dev","binary_version":"2.54.3+18.04"},{"binary_name":"snap-confine","binary_version":"2.54.3+18.04"},{"binary_version":"2.54.3+18.04","binary_name":"snapd"},{"binary_name":"snapd-xdg-open","binary_version":"2.54.3+18.04"},{"binary_name":"ubuntu-core-launcher","binary_version":"2.54.3+18.04"},{"binary_name":"ubuntu-core-snapd-units","binary_version":"2.54.3+18.04"},{"binary_name":"ubuntu-snappy","binary_version":"2.54.3+18.04"},{"binary_name":"ubuntu-snappy-cli","binary_version":"2.54.3+18.04"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44730.json"}},{"package":{"name":"snapd","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/snapd@2.54.3+20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.54.3+20.04.1"}]}],"versions":["2.41+19.10.1","2.42.1+20.04","2.43.3+git1.8109f8","2.44~pre1+20.04","2.44+20.04","2.44.2+20.04","2.44.3+20.04","2.45.1+20.04","2.45.1+20.04.2","2.46.1+20.04","2.47.1+20.04","2.48+20.04","2.48.3+20.04","2.49.2+20.04","2.51.1+20.04ubuntu2","2.54.2+20.04ubuntu2","2.54.3+20.04"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"golang-github-snapcore-snapd-dev","binary_version":"2.54.3+20.04.1"},{"binary_name":"golang-github-ubuntu-core-snappy-dev","binary_version":"2.54.3+20.04.1"},{"binary_name":"snap-confine","binary_version":"2.54.3+20.04.1"},{"binary_name":"snapd","binary_version":"2.54.3+20.04.1"},{"binary_version":"2.54.3+20.04.1","binary_name":"snapd-xdg-open"},{"binary_name":"ubuntu-core-launcher","binary_version":"2.54.3+20.04.1"},{"binary_name":"ubuntu-core-snapd-units","binary_version":"2.54.3+20.04.1"},{"binary_name":"ubuntu-snappy","binary_version":"2.54.3+20.04.1"},{"binary_name":"ubuntu-snappy-cli","binary_version":"2.54.3+20.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44730.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/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:H/A:H"},{"type":"Ubuntu","score":"high"}]}