{"id":"USN-6940-1","summary":"snapd vulnerabilities","details":"Neil McPhail discovered that snapd did not properly restrict writes to the\n$HOME/bin path in the AppArmor profile for snaps using the home plug. An\nattacker who could convince a user to install a malicious snap could use this\nvulnerability to escape the snap sandbox. (CVE-2024-1724)\n\nZeyad Gouda discovered that snapd failed to properly check the file type when\nextracting a snap. An attacker who could convince a user to install a malicious\nsnap containing non-regular files could then cause snapd to block indefinitely\nwhile trying to read from such files and cause a denial of\nservice. (CVE-2024-29068)\n\nZeyad Gouda discovered that snapd failed to properly check the destination of\nsymbolic links when extracting a snap. An attacker who could convince a user to\ninstall a malicious snap containing crafted symbolic links could then cause\nsnapd to write out the contents of the symbolic link destination into a\nworld-readable directory. This in-turn could allow a local unprivileged user to\ngain access to privileged information. (CVE-2024-29069)\n","modified":"2026-02-10T04:44:43Z","published":"2024-08-01T06:35:51Z","related":["UBUNTU-CVE-2024-1724","UBUNTU-CVE-2024-29068","UBUNTU-CVE-2024-29069"],"upstream":["CVE-2024-1724","CVE-2024-29068","CVE-2024-29069","UBUNTU-CVE-2024-1724","UBUNTU-CVE-2024-29068","UBUNTU-CVE-2024-29069"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6940-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-1724"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-29068"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-29069"}],"affected":[{"package":{"name":"snapd","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/snapd@2.63+20.04ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.63+20.04ubuntu0.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","2.54.3+20.04.1","2.54.3+20.04.1ubuntu0.1","2.54.3+20.04.1ubuntu0.2","2.54.3+20.04.1ubuntu0.3","2.55.5+20.04","2.57.5+20.04","2.57.5+20.04ubuntu0.1","2.58+20.04","2.58+20.04.1","2.61.3+20.04","2.62+20.04","2.63+20.04"],"ecosystem_specific":{"binaries":[{"binary_version":"2.63+20.04ubuntu0.1","binary_name":"golang-github-snapcore-snapd-dev"},{"binary_version":"2.63+20.04ubuntu0.1","binary_name":"golang-github-ubuntu-core-snappy-dev"},{"binary_version":"2.63+20.04ubuntu0.1","binary_name":"snap-confine"},{"binary_version":"2.63+20.04ubuntu0.1","binary_name":"snapd"},{"binary_version":"2.63+20.04ubuntu0.1","binary_name":"snapd-xdg-open"},{"binary_version":"2.63+20.04ubuntu0.1","binary_name":"ubuntu-core-launcher"},{"binary_version":"2.63+20.04ubuntu0.1","binary_name":"ubuntu-core-snapd-units"},{"binary_version":"2.63+20.04ubuntu0.1","binary_name":"ubuntu-snappy"},{"binary_version":"2.63+20.04ubuntu0.1","binary_name":"ubuntu-snappy-cli"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6940-1.json","cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-1724"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-29068"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-29069"}]}}},{"package":{"name":"snapd","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/snapd@2.63+22.04ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.63+22.04ubuntu0.1"}]}],"versions":["2.53+21.10ubuntu1","2.54.2+22.04ubuntu1","2.54.2+22.04ubuntu2","2.54.2+22.04ubuntu3","2.54.3+git19.g868fc21+22.04","2.54.3+git26.g360067e+22.04","2.55.2+22.04","2.55.2+22.04.1","2.55.3+22.04","2.55.3+22.04ubuntu1","2.55.5+22.04","2.56.2+22.04ubuntu1","2.57.4+22.04","2.57.5+22.04","2.57.5+22.04ubuntu0.1","2.58+22.04","2.58+22.04.1","2.61.3+22.04","2.62+22.04","2.63+22.04"],"ecosystem_specific":{"binaries":[{"binary_version":"2.63+22.04ubuntu0.1","binary_name":"golang-github-snapcore-snapd-dev"},{"binary_version":"2.63+22.04ubuntu0.1","binary_name":"golang-github-ubuntu-core-snappy-dev"},{"binary_version":"2.63+22.04ubuntu0.1","binary_name":"snap-confine"},{"binary_version":"2.63+22.04ubuntu0.1","binary_name":"snapd"},{"binary_version":"2.63+22.04ubuntu0.1","binary_name":"snapd-xdg-open"},{"binary_version":"2.63+22.04ubuntu0.1","binary_name":"ubuntu-core-launcher"},{"binary_version":"2.63+22.04ubuntu0.1","binary_name":"ubuntu-core-snapd-units"},{"binary_version":"2.63+22.04ubuntu0.1","binary_name":"ubuntu-snappy"},{"binary_version":"2.63+22.04ubuntu0.1","binary_name":"ubuntu-snappy-cli"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6940-1.json","cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-1724"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-29068"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-29069"}]}}},{"package":{"name":"snapd","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/snapd@2.63+24.04ubuntu0.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.63+24.04ubuntu0.1"}]}],"versions":["2.60.4+23.10","2.61.3+24.04","2.62+24.04build1","2.63+24.04"],"ecosystem_specific":{"binaries":[{"binary_version":"2.63+24.04ubuntu0.1","binary_name":"golang-github-snapcore-snapd-dev"},{"binary_version":"2.63+24.04ubuntu0.1","binary_name":"golang-github-ubuntu-core-snappy-dev"},{"binary_version":"2.63+24.04ubuntu0.1","binary_name":"snap-confine"},{"binary_version":"2.63+24.04ubuntu0.1","binary_name":"snapd"},{"binary_version":"2.63+24.04ubuntu0.1","binary_name":"snapd-xdg-open"},{"binary_version":"2.63+24.04ubuntu0.1","binary_name":"ubuntu-core-launcher"},{"binary_version":"2.63+24.04ubuntu0.1","binary_name":"ubuntu-core-snapd-units"},{"binary_version":"2.63+24.04ubuntu0.1","binary_name":"ubuntu-snappy"},{"binary_version":"2.63+24.04ubuntu0.1","binary_name":"ubuntu-snappy-cli"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6940-1.json","cves_map":{"ecosystem":"Ubuntu:24.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-1724"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-29068"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-29069"}]}}}],"schema_version":"1.7.3"}