{"id":"USN-5292-1","summary":"snapd vulnerabilities","details":"James Troup discovered that snap did not properly manage the permissions for\nthe snap directories. A local attacker could possibly use this issue to expose\nsensitive information. (CVE-2021-3155)\n\nIan Johnson discovered that snapd did not properly validate content interfaces\nand layout paths. A local attacker could possibly use this issue to inject\narbitrary AppArmor policy rules, resulting in a bypass of intended access\nrestrictions. (CVE-2021-4120)\n\nThe Qualys Research Team discovered that snapd did not properly validate the\nlocation of the snap-confine binary. A local attacker could possibly use this\nissue to execute other arbitrary binaries and escalate privileges.\n(CVE-2021-44730)\n\nThe Qualys Research Team discovered that a race condition existed in the snapd\nsnap-confine binary when preparing a private mount namespace for a snap. A\nlocal attacker could possibly use this issue to escalate privileges and\nexecute arbitrary code. (CVE-2021-44731)\n","modified":"2026-02-10T04:42:29Z","published":"2022-02-17T17:24:49Z","related":["UBUNTU-CVE-2021-3155","UBUNTU-CVE-2021-4120","UBUNTU-CVE-2021-44730","UBUNTU-CVE-2021-44731"],"upstream":["CVE-2021-3155","CVE-2021-4120","CVE-2021-44730","CVE-2021-44731","UBUNTU-CVE-2021-3155","UBUNTU-CVE-2021-4120","UBUNTU-CVE-2021-44730","UBUNTU-CVE-2021-44731"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5292-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3155"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-4120"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-44730"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-44731"}],"affected":[{"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":{"binaries":[{"binary_name":"golang-github-snapcore-snapd-dev","binary_version":"2.54.3+18.04"},{"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_name":"snapd","binary_version":"2.54.3+18.04"},{"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"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5292-1.json","cves_map":{"cves":[{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2021-3155"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2021-4120"},{"severity":[{"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":"CVSS_V3"},{"score":"high","type":"Ubuntu"}],"id":"CVE-2021-44730"},{"severity":[{"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:H/PR:L/UI:N/S:C/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"high","type":"Ubuntu"}],"id":"CVE-2021-44731"}],"ecosystem":"Ubuntu:18.04:LTS"}}},{"package":{"name":"snapd","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/snapd@2.54.3+20.04?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.54.3+20.04"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-snapcore-snapd-dev","binary_version":"2.54.3+20.04"},{"binary_name":"golang-github-ubuntu-core-snappy-dev","binary_version":"2.54.3+20.04"},{"binary_name":"snap-confine","binary_version":"2.54.3+20.04"},{"binary_name":"snapd","binary_version":"2.54.3+20.04"},{"binary_name":"snapd-xdg-open","binary_version":"2.54.3+20.04"},{"binary_name":"ubuntu-core-launcher","binary_version":"2.54.3+20.04"},{"binary_name":"ubuntu-core-snapd-units","binary_version":"2.54.3+20.04"},{"binary_name":"ubuntu-snappy","binary_version":"2.54.3+20.04"},{"binary_name":"ubuntu-snappy-cli","binary_version":"2.54.3+20.04"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5292-1.json","cves_map":{"cves":[],"ecosystem":"Ubuntu:20.04:LTS"}}}],"schema_version":"1.7.3"}