{"id":"CVE-2024-5300","aliases":["DEBIAN-CVE-2024-5300","EUVD-2024-55693","GHSA-px3v-8ppp-543h","RHSA-2026:29009","UBUNTU-CVE-2024-5300","USN-8579-1"],"status":"published","title":"AppArmor Base Profile Misconfiguration in snapd Permits Confined Snaps Unauthorized Access to Hashed Passwords via systemd-userdbd","description":"An access control bypass and information disclosure vulnerability exists in the base AppArmor security profile configuration of Canonical snapd. The abstraction rules located in /etc/apparmor.d/abstractions/nss-systemd (inherited via ) inadvertently permit strictly confined snap applications, which lack the privileged account-control interface, to interact directly with the io.systemd.Multiplexer and io.systemd.NameServiceSwitch UNIX domain sockets under /run/systemd/userdb/.\nOn systems where the systemd-userdbd service is installed and operational, the service fails to distinguish between an unconfined root user on the host system and a restricted root user running within a snap application's sandbox (such as a daemon or configuration hook). Because systemd-userdbd returns \"complete\" user records—including sensitive hashed user passwords from /etc/shadow—when queried by a process running as root, a compromised or malicious strictly confined snap executing code as root can successfully query the Varlink interface to retrieve all system password hashes, bypassing intended snap sandbox restrictions. This issue is mitigated by the fact that systemd-userdbd is not installed by default on standard Ubuntu deployments.","severity":{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00132,"percentile":0.02792,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-212"],"published":"2026-07-21T14:00:00Z","modified":"2026-11-02T12:03:14Z","fixes":[{"ecosystem":"Debian:14","package":"snapd","fixed_in":["2.76.3-1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-boot-unsigned","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-container","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-devel","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-journal-remote","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-libs","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-networkd","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-networkd-defaults","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-oomd-defaults","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-pam","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-resolved","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-rpm-macros","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-shared","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-standalone-repart","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-standalone-shutdown","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-standalone-sysusers","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-standalone-tmpfiles","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-sysusers","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-tests","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-udev","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"systemd-ukify","fixed_in":["0:261-2.hum1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"snapd","fixed_in":["2.61.4ubuntu0.16.04.1+esm4"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"snapd","fixed_in":["2.61.4ubuntu0.18.04.1+esm4"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"snapd","fixed_in":["2.67.1+20.04ubuntu1~esm3"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"snapd","fixed_in":["2.76+ubuntu22.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:24.04:LTS","package":"snapd","fixed_in":["2.76+ubuntu24.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:26.04:LTS","package":"snapd","fixed_in":["2.76+ubuntu26.04.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.57.6-1","2.57.6-1+deb12u1","2.59.5-1","2.60.2-1","2.61.1-1","2.61.2-1","2.61.2-2","2.62-1","2.62-2","2.62-3","2.62-4","2.62-5","2.63-1","2.63-2","2.63-3","2.63-4","2.65.1-1","2.65.3-1","2.66.1-1","2.66.1-2","2.67-1","2.68.3-2","2.68.3-3","2.71-1","2.71-2","2.71-3","2.72-1","2.73-3","2.73-4","2.74.1-1","2.75.2-1","2.75.2-2","2.76-1","2.76.3-1","2.76.3-2","2.77.1-1","2.77.1-2"]},{"source":"osv","ecosystem":"Debian:13","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.68.3-3","2.68.3-3+deb13u1","2.71-1","2.71-2","2.71-3","2.72-1","2.73-3","2.73-4","2.74.1-1","2.75.2-1","2.75.2-2","2.76-1","2.76.3-1","2.76.3-2","2.77.1-1","2.77.1-2"]},{"source":"osv","ecosystem":"Debian:14","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.76.3-1"}]}],"versions":["2.68.3-3","2.71-1","2.71-2","2.71-3","2.72-1","2.73-3","2.73-4","2.74.1-1","2.75.2-1","2.75.2-2","2.76-1"]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-boot-unsigned","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-container","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-journal-remote","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-networkd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-networkd-defaults","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-oomd-defaults","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-resolved","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-rpm-macros","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-shared","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-standalone-repart","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-standalone-shutdown","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-standalone-sysusers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-standalone-tmpfiles","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-sysusers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-tests","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-udev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"systemd-ukify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:261-2.hum1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.61.4ubuntu0.16.04.1+esm4"}]}],"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","2.54.3+16.04~esm2","2.54.3+16.04.0ubuntu0.1~esm3","2.54.3+16.04.0ubuntu0.1~esm4","2.54.3+16.04.0ubuntu0.1~esm5","2.54.3+16.04.0ubuntu0.1~esm6","2.61.4ubuntu0.16.04.1+esm1","2.61.4ubuntu0.16.04.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.61.4ubuntu0.18.04.1+esm4"}]}],"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","2.54.3+18.04","2.54.3+18.04.2ubuntu0.1","2.54.3+18.04.2ubuntu0.2","2.55.5+18.04","2.57.5+18.04","2.57.5+18.04ubuntu0.1","2.58+18.04","2.58+18.04.1","2.61.4ubuntu0.18.04.1+esm1","2.61.4ubuntu0.18.04.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.67.1+20.04ubuntu1~esm3"}]}],"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","2.63+20.04ubuntu0.1","2.65.3+20.04","2.66.1+20.04","2.67.1+20.04","2.67.1+20.04ubuntu1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.76+ubuntu22.04.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","2.63+22.04ubuntu0.1","2.65.3+22.04","2.66.1+22.04","2.67.1+22.04","2.68.5+ubuntu22.04.1","2.71+ubuntu22.04","2.72+ubuntu22.04","2.73+ubuntu22.04","2.73+ubuntu22.04.1","2.74.1+ubuntu22.04.4","2.75.2+ubuntu22.04","2.76+ubuntu22.04"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.76+ubuntu24.04.1"}]}],"versions":["2.60.4+23.10","2.61.3+24.04","2.62+24.04build1","2.63+24.04","2.63+24.04ubuntu0.1","2.63.1+24.04","2.65.3+24.04","2.66.1+24.04","2.67.1+24.04","2.68.5+ubuntu24.04.1","2.71+ubuntu24.04","2.72+ubuntu24.04","2.73+ubuntu24.04","2.73+ubuntu24.04.1","2.73+ubuntu24.04.2","2.74.1+ubuntu24.04.4","2.75.2+ubuntu24.04","2.76+ubuntu24.04"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.67.1+25.04","2.68.5+ubuntu25.10.2","2.71+ubuntu25.10","2.71.1+ubuntu25.10.1","2.72+ubuntu25.10.2","2.73+ubuntu25.10","2.73+ubuntu25.10.1","2.74.1+ubuntu25.10.4","2.75.2+ubuntu25.10"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.76+ubuntu26.04.3"}]}],"versions":["2.71.1+ubuntu25.10.1","2.72+ubuntu26.04.1","2.73+ubuntu26.04.1","2.74+ubuntu26.04","2.74.1+ubuntu26.04","2.74.1+ubuntu26.04.3","2.74.1+ubuntu26.04.4","2.75.2+ubuntu26.04.2","2.76+ubuntu26.04.2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.61.4ubuntu0.16.04.1+esm4"}]}],"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","2.54.3+16.04~esm2","2.54.3+16.04.0ubuntu0.1~esm3","2.54.3+16.04.0ubuntu0.1~esm4","2.54.3+16.04.0ubuntu0.1~esm5","2.54.3+16.04.0ubuntu0.1~esm6","2.61.4ubuntu0.16.04.1+esm1","2.61.4ubuntu0.16.04.1+esm2"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.61.4ubuntu0.18.04.1+esm4"}]}],"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","2.54.3+18.04","2.54.3+18.04.2ubuntu0.1","2.54.3+18.04.2ubuntu0.2","2.55.5+18.04","2.57.5+18.04","2.57.5+18.04ubuntu0.1","2.58+18.04","2.58+18.04.1","2.61.4ubuntu0.18.04.1+esm1","2.61.4ubuntu0.18.04.1+esm2"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.67.1+20.04ubuntu1~esm3"}]}],"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","2.63+20.04ubuntu0.1","2.65.3+20.04","2.66.1+20.04","2.67.1+20.04","2.67.1+20.04ubuntu1~esm1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.76+ubuntu22.04.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","2.63+22.04ubuntu0.1","2.65.3+22.04","2.66.1+22.04","2.67.1+22.04","2.68.5+ubuntu22.04.1","2.71+ubuntu22.04","2.72+ubuntu22.04","2.73+ubuntu22.04","2.73+ubuntu22.04.1","2.74.1+ubuntu22.04.4","2.75.2+ubuntu22.04","2.76+ubuntu22.04"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.76+ubuntu24.04.1"}]}],"versions":["2.60.4+23.10","2.61.3+24.04","2.62+24.04build1","2.63+24.04","2.63+24.04ubuntu0.1","2.63.1+24.04","2.65.3+24.04","2.66.1+24.04","2.67.1+24.04","2.68.5+ubuntu24.04.1","2.71+ubuntu24.04","2.72+ubuntu24.04","2.73+ubuntu24.04","2.73+ubuntu24.04.1","2.73+ubuntu24.04.2","2.74.1+ubuntu24.04.4","2.75.2+ubuntu24.04","2.76+ubuntu24.04"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"snapd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.76+ubuntu26.04.3"}]}],"versions":["2.71.1+ubuntu25.10.1","2.72+ubuntu26.04.1","2.73+ubuntu26.04.1","2.74+ubuntu26.04","2.74.1+ubuntu26.04","2.74.1+ubuntu26.04.3","2.74.1+ubuntu26.04.4","2.75.2+ubuntu26.04.2","2.76+ubuntu26.04.2"],"bundled":3}],"products":[{"vendor":"canonical","product":"ubuntu 16.04 lts"},{"vendor":"canonical","product":"ubuntu 18.04 lts"},{"vendor":"canonical","product":"ubuntu 20.04 lts"},{"vendor":"canonical","product":"ubuntu 22.04 lts"},{"vendor":"canonical","product":"ubuntu 24.04 lts"},{"vendor":"canonical","product":"ubuntu 26.04 lts"}],"references":[{"url":"https://ubuntu.com/security/CVE-2024-5300","tags":["vdb-entry","issue-tracking","report","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5300","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-px3v-8ppp-543h"},{"url":"https://github.com/canonical","tags":["web"]},{"url":"https://github.com/canonical/snapd/","tags":["web"]},{"url":"https://launchpad.net/ubuntu/+source/snapd","tags":["web"]},{"url":"https://launchpad.net/ubuntu/bionic","tags":["web"]},{"url":"https://launchpad.net/ubuntu/focal","tags":["web"]},{"url":"https://launchpad.net/ubuntu/jammy","tags":["web"]},{"url":"https://launchpad.net/ubuntu/noble","tags":["web"]},{"url":"https://launchpad.net/ubuntu/resolute","tags":["web"]},{"url":"https://launchpad.net/ubuntu/xenial","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5300.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-5300","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:29009","tags":["advisory"]},{"url":"https://images.redhat.com/","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-5300","tags":["report"]},{"url":"https://access.redhat.com/security/updates/classification/","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_29009.json","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2503660","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-5300","tags":["advisory","report"]},{"url":"https://ubuntu.com/security/notices/USN-8579-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-8933","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-15226","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-5300","title":"AppArmor Base Profile Misconfiguration in snapd Permits Confined Snaps Unauthorized Access to Hashed Passwords via systemd-userdbd","description":"An access control bypass and information disclosure vulnerability exists in the base AppArmor security profile configuration of Canonical snapd. The abstraction rules located in /etc/apparmor.d/abstractions/nss-systemd (inherited via ) inadvertently permit strictly confined snap applications, which lack the privileged account-control interface, to interact directly with the io.systemd.Multiplexer and io.systemd.NameServiceSwitch UNIX domain sockets under /run/systemd/userdb/.\nOn systems where the systemd-userdbd service is installed and operational, the service fails to distinguish between an unconfined root user on the host system and a restricted root user running within a snap application's sandbox (such as a daemon or configuration hook). Because systemd-userdbd returns \"complete\" user records—including sensitive hashed user passwords from /etc/shadow—when queried by a process running as root, a compromised or malicious strictly confined snap executing code as root can successfully query the Varlink interface to retrieve all system password hashes, bypassing intended snap sandbox restrictions. This issue is mitigated by the fact that systemd-userdbd is not installed by default on standard Ubuntu deployments.","status":"published","published":"2026-07-21T14:00:51.066Z","modified":"2026-07-22T18:28:16.818Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-212"],"updated_at":"2026-11-02T14:34:00.929382Z"}],"euvd":[{"id":"EUVD-2024-55693","description":"An access control bypass and information disclosure vulnerability exists in the base AppArmor security profile configuration of Canonical snapd. The abstraction rules located in /etc/apparmor.d/abstractions/nss-systemd (inherited via ) inadvertently permit strictly confined snap applications, which lack the privileged account-control interface, to interact directly with the io.systemd.Multiplexer and io.systemd.NameServiceSwitch UNIX domain sockets under /run/systemd/userdb/.\nOn systems where the systemd-userdbd service is installed and operational, the service fails to distinguish between an unconfined root user on the host system and a restricted root user running within a snap application's sandbox (such as a daemon or configuration hook). Because systemd-userdbd returns \"complete\" user records—including sensitive hashed user passwords from /etc/shadow—when queried by a process running as root, a compromised or malicious strictly confined snap executing code as root can successfully query the Varlink interface to retrieve all system password hashes, bypassing intended snap sandbox restrictions. This issue is mitigated by the fact that systemd-userdbd is not installed by default on standard Ubuntu deployments.","status":"published","published":"2026-07-21T14:00:51Z","modified":"2026-07-22T18:28:16Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T18:19:45.382067Z"}],"ghsa":[{"id":"GHSA-px3v-8ppp-543h","title":"An access control bypass and information disclosure vulnerability exists in the base AppArmor...","description":"An access control bypass and information disclosure vulnerability exists in the base AppArmor security profile configuration of Canonical snapd. The abstraction rules located in /etc/apparmor.d/abstractions/nss-systemd (inherited via ) inadvertently permit strictly confined snap applications, which lack the privileged account-control interface, to interact directly with the io.systemd.Multiplexer and io.systemd.NameServiceSwitch UNIX domain sockets under /run/systemd/userdb/.\nOn systems where the systemd-userdbd service is installed and operational, the service fails to distinguish between an unconfined root user on the host system and a restricted root user running within a snap application's sandbox (such as a daemon or configuration hook). Because systemd-userdbd returns \"complete\" user records—including sensitive hashed user passwords from /etc/shadow—when queried by a process running as root, a compromised or malicious strictly confined snap executing code as root can successfully query the Varlink interface to retrieve all system password hashes, bypassing intended snap sandbox restrictions. This issue is mitigated by the fact that systemd-userdbd is not installed by default on standard Ubuntu deployments.","status":"published","published":"2026-07-21T15:30:44Z","modified":"2026-07-21T15:30:51Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-212"],"updated_at":"2026-11-02T15:09:37.555146Z"}],"nvd":[{"id":"CVE-2024-5300","description":"An access control bypass and information disclosure vulnerability exists in the base AppArmor security profile configuration of Canonical snapd. The abstraction rules located in /etc/apparmor.d/abstractions/nss-systemd (inherited via ) inadvertently permit strictly confined snap applications, which lack the privileged account-control interface, to interact directly with the io.systemd.Multiplexer and io.systemd.NameServiceSwitch UNIX domain sockets under /run/systemd/userdb/.\nOn systems where the systemd-userdbd service is installed and operational, the service fails to distinguish between an unconfined root user on the host system and a restricted root user running within a snap application's sandbox (such as a daemon or configuration hook). Because systemd-userdbd returns \"complete\" user records—including sensitive hashed user passwords from /etc/shadow—when queried by a process running as root, a compromised or malicious strictly confined snap executing code as root can successfully query the Varlink interface to retrieve all system password hashes, bypassing intended snap sandbox restrictions. This issue is mitigated by the fact that systemd-userdbd is not installed by default on standard Ubuntu deployments.","status":"published","published":"2026-07-21T15:16:29.027Z","modified":"2026-07-22T19:16:53.303Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-212"],"updated_at":"2026-11-02T14:10:47.77313Z"}],"osv":[{"id":"CVE-2024-5300","title":"AppArmor Base Profile Misconfiguration in snapd Permits Confined Snaps Unauthorized Access to Hashed Passwords via systemd-userdbd","description":"An access control bypass and information disclosure vulnerability exists in the base AppArmor security profile configuration of Canonical snapd. The abstraction rules located in /etc/apparmor.d/abstractions/nss-systemd (inherited via ) inadvertently permit strictly confined snap applications, which lack the privileged account-control interface, to interact directly with the io.systemd.Multiplexer and io.systemd.NameServiceSwitch UNIX domain sockets under /run/systemd/userdb/.\nOn systems where the systemd-userdbd service is installed and operational, the service fails to distinguish between an unconfined root user on the host system and a restricted root user running within a snap application's sandbox (such as a daemon or configuration hook). Because systemd-userdbd returns \"complete\" user records—including sensitive hashed user passwords from /etc/shadow—when queried by a process running as root, a compromised or malicious strictly confined snap executing code as root can successfully query the Varlink interface to retrieve all system password hashes, bypassing intended snap sandbox restrictions. This issue is mitigated by the fact that systemd-userdbd is not installed by default on standard Ubuntu deployments.","status":"published","published":"2026-07-21T14:00:51.066Z","modified":"2026-10-28T02:30:41.852911161Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-212"],"updated_at":"2026-11-02T15:44:44.451316Z"},{"id":"DEBIAN-CVE-2024-5300","description":"An access control bypass and information disclosure vulnerability exists in the base AppArmor security profile configuration of Canonical snapd. The abstraction rules located in /etc/apparmor.d/abstractions/nss-systemd (inherited via ) inadvertently permit strictly confined snap applications, which lack the privileged account-control interface, to interact directly with the io.systemd.Multiplexer and io.systemd.NameServiceSwitch UNIX domain sockets under /run/systemd/userdb/. On systems where the systemd-userdbd service is installed and operational, the service fails to distinguish between an unconfined root user on the host system and a restricted root user running within a snap application's sandbox (such as a daemon or configuration hook). Because systemd-userdbd returns \"complete\" user records—including sensitive hashed user passwords from /etc/shadow—when queried by a process running as root, a compromised or malicious strictly confined snap executing code as root can successfully query the Varlink interface to retrieve all system password hashes, bypassing intended snap sandbox restrictions. This issue is mitigated by the fact that systemd-userdbd is not installed by default on standard Ubuntu deployments.","status":"published","published":"2026-07-21T15:16:29.027Z","modified":"2026-11-02T12:03:14.884723841Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:44.117337Z"},{"id":"RHSA-2026:29009","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update","status":"published","published":"2026-07-29T10:07:58Z","modified":"2026-10-06T10:31:26.700769133Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:53:19.449341Z"},{"id":"UBUNTU-CVE-2024-5300","description":"An access control bypass and information disclosure vulnerability exists in the base AppArmor security profile configuration of Canonical snapd. The abstraction rules located in /etc/apparmor.d/abstractions/nss-systemd (inherited via ) inadvertently permit strictly confined snap applications, which lack the privileged account-control interface, to interact directly with the io.systemd.Multiplexer and io.systemd.NameServiceSwitch UNIX domain sockets under /run/systemd/userdb/. On systems where the systemd-userdbd service is installed and operational, the service fails to distinguish between an unconfined root user on the host system and a restricted root user running within a snap application's sandbox (such as a daemon or configuration hook). Because systemd-userdbd returns \"complete\" user records—including sensitive hashed user passwords from /etc/shadow—when queried by a process running as root, a compromised or malicious strictly confined snap executing code as root can successfully query the Varlink interface to retrieve all system password hashes, bypassing intended snap sandbox restrictions. This issue is mitigated by the fact that systemd-userdbd is not installed by default on standard Ubuntu deployments.","status":"published","published":"2026-07-21T14:00:00Z","modified":"2026-07-29T10:18:46.315152885Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T16:55:11.182485Z"},{"id":"USN-8579-1","title":"snapd vulnerabilities","description":"James Henstridge discovered that snapd's default apparmor template did\nnot restrict access to systemd-userdbd varlink interface. A local\nattacker could possibly use this issue to obtain sensitive information.\n(CVE-2024-5300)\n\nQualys discovered that snap-confine can be tricked to create\nattacker-controlled files at certain privileged locations. A local\nattacker could possibly use this issue to bypass intended restrictions\nand escalate privileges to root. This issue only affected\nUbuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS.\n(CVE-2026-8933)\n\nZygmunt Krynicki discovered that snapd's default seccomp template\ndid not restrict the creation of executables with the set-user-ID\nattribute. A local attacker could possibly use this issue to create\nand execute setuid binaries. (CVE-2026-15226)","status":"published","published":"2026-07-21T14:24:27Z","modified":"2026-07-21T23:14:34.410163517Z","updated_at":"2026-11-02T16:58:25.103481Z"}]}}
