CVE-2024-5300

golang-github-snapcore-snapd-dev: An access control bypass and information disclosure vulnerability exists in the base AppArmor security profile config...

CVE-2024-5300 is fixed in 9 products on 1 platform, first by golang-github-snapcore-snapd-dev 2.76+ubuntu26.04.3, released July 21, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.6
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0013
2nd percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
golang-github-snapcore-snapd-dev · Ubuntu 18.04.6 LTS (bionic) 2.61.4ubuntu0.18.04.1+esm4 golang-github-snapcore-snapd-dev 2.61.4ubuntu0.18.04.1+esm4 Jul 23, 2026
golang-github-snapcore-snapd-dev · Ubuntu 20.04 LTS (focal) 2.67.1+20.04ubuntu1~esm3 golang-github-snapcore-snapd-dev 2.67.1+20.04ubuntu1~esm3 Jul 23, 2026
golang-github-snapcore-snapd-dev · Ubuntu 22.04.1 LTS (jammy) 2.76+ubuntu22.04.1 golang-github-snapcore-snapd-dev 2.76+ubuntu22.04.1 Jul 23, 2026
golang-github-snapcore-snapd-dev · Ubuntu 24.04.5 LTS (noble) 2.76+ubuntu24.04.1 golang-github-snapcore-snapd-dev 2.76+ubuntu24.04.1 Jul 23, 2026
golang-github-snapcore-snapd-dev · Ubuntu 26.04.1 LTS (resolute) 2.76+ubuntu26.04.3 golang-github-snapcore-snapd-dev 2.76+ubuntu26.04.3 Jul 21, 2026
golang-github-ubuntu-core-snappy-dev · Ubuntu 18.04.6 LTS (bionic) 2.61.4ubuntu0.18.04.1+esm4 golang-github-ubuntu-core-snappy-dev 2.61.4ubuntu0.18.04.1+esm4 Jul 23, 2026
golang-github-ubuntu-core-snappy-dev · Ubuntu 20.04 LTS (focal) 2.67.1+20.04ubuntu1~esm3 golang-github-ubuntu-core-snappy-dev 2.67.1+20.04ubuntu1~esm3 Jul 23, 2026
golang-github-ubuntu-core-snappy-dev · Ubuntu 22.04.1 LTS (jammy) 2.76+ubuntu22.04.1 golang-github-ubuntu-core-snappy-dev 2.76+ubuntu22.04.1 Jul 23, 2026
golang-github-ubuntu-core-snappy-dev · Ubuntu 24.04.5 LTS (noble) 2.76+ubuntu24.04.1 golang-github-ubuntu-core-snappy-dev 2.76+ubuntu24.04.1 Jul 23, 2026
snap-confine · Ubuntu 18.04.6 LTS (bionic) 2.61.4ubuntu0.18.04.1+esm4 snap-confine 2.61.4ubuntu0.18.04.1+esm4 Jul 23, 2026
snap-confine · Ubuntu 20.04 LTS (focal) 2.67.1+20.04ubuntu1~esm3 snap-confine 2.67.1+20.04ubuntu1~esm3 Jul 23, 2026
snap-confine · Ubuntu 22.04.1 LTS (jammy) 2.76+ubuntu22.04.1 snap-confine 2.76+ubuntu22.04.1 Jul 23, 2026
snap-confine · Ubuntu 24.04.5 LTS (noble) 2.76+ubuntu24.04.1 snap-confine 2.76+ubuntu24.04.1 Jul 23, 2026
snapd · Debian 14 2.76.3-1 DEBIAN-CVE-2024-5300 Jul 21, 2026
snapd · Ubuntu 18.04.6 LTS (bionic) 2.61.4ubuntu0.18.04.1+esm4 snapd 2.61.4ubuntu0.18.04.1+esm4 Jul 23, 2026
snapd · Ubuntu 20.04 LTS (focal) 2.67.1+20.04ubuntu1~esm3 snapd 2.67.1+20.04ubuntu1~esm3 Jul 23, 2026
snapd · Ubuntu 22.04.1 LTS (jammy) 2.76+ubuntu22.04.1 snapd 2.76+ubuntu22.04.1 Jul 23, 2026
snapd · Ubuntu 24.04.5 LTS (noble) 2.76+ubuntu24.04.1 snapd 2.76+ubuntu24.04.1 Jul 23, 2026
snapd · Ubuntu 26.04.1 LTS (resolute) 2.76+ubuntu26.04.3 snapd 2.76+ubuntu26.04.3 Jul 21, 2026
snapd-xdg-open · Ubuntu 18.04.6 LTS (bionic) 2.61.4ubuntu0.18.04.1+esm4 snapd-xdg-open 2.61.4ubuntu0.18.04.1+esm4 Jul 23, 2026
snapd-xdg-open · Ubuntu 20.04 LTS (focal) 2.67.1+20.04ubuntu1~esm3 snapd-xdg-open 2.67.1+20.04ubuntu1~esm3 Jul 23, 2026
snapd-xdg-open · Ubuntu 22.04.1 LTS (jammy) 2.76+ubuntu22.04.1 snapd-xdg-open 2.76+ubuntu22.04.1 Jul 23, 2026
snapd-xdg-open · Ubuntu 24.04.5 LTS (noble) 2.76+ubuntu24.04.1 snapd-xdg-open 2.76+ubuntu24.04.1 Jul 23, 2026
ubuntu-core-launcher · Ubuntu 18.04.6 LTS (bionic) 2.61.4ubuntu0.18.04.1+esm4 ubuntu-core-launcher 2.61.4ubuntu0.18.04.1+esm4 Jul 23, 2026
ubuntu-core-launcher · Ubuntu 20.04 LTS (focal) 2.67.1+20.04ubuntu1~esm3 ubuntu-core-launcher 2.67.1+20.04ubuntu1~esm3 Jul 23, 2026
ubuntu-core-launcher · Ubuntu 22.04.1 LTS (jammy) 2.76+ubuntu22.04.1 ubuntu-core-launcher 2.76+ubuntu22.04.1 Jul 23, 2026
ubuntu-core-launcher · Ubuntu 24.04.5 LTS (noble) 2.76+ubuntu24.04.1 ubuntu-core-launcher 2.76+ubuntu24.04.1 Jul 23, 2026
ubuntu-core-snapd-units · Ubuntu 18.04.6 LTS (bionic) 2.61.4ubuntu0.18.04.1+esm4 ubuntu-core-snapd-units 2.61.4ubuntu0.18.04.1+esm4 Jul 23, 2026
ubuntu-core-snapd-units · Ubuntu 20.04 LTS (focal) 2.67.1+20.04ubuntu1~esm3 ubuntu-core-snapd-units 2.67.1+20.04ubuntu1~esm3 Jul 23, 2026
ubuntu-core-snapd-units · Ubuntu 22.04.1 LTS (jammy) 2.76+ubuntu22.04.1 ubuntu-core-snapd-units 2.76+ubuntu22.04.1 Jul 23, 2026
ubuntu-core-snapd-units · Ubuntu 24.04.5 LTS (noble) 2.76+ubuntu24.04.1 ubuntu-core-snapd-units 2.76+ubuntu24.04.1 Jul 23, 2026
ubuntu-snappy · Ubuntu 18.04.6 LTS (bionic) 2.61.4ubuntu0.18.04.1+esm4 ubuntu-snappy 2.61.4ubuntu0.18.04.1+esm4 Jul 23, 2026
ubuntu-snappy · Ubuntu 20.04 LTS (focal) 2.67.1+20.04ubuntu1~esm3 ubuntu-snappy 2.67.1+20.04ubuntu1~esm3 Jul 23, 2026
ubuntu-snappy · Ubuntu 22.04.1 LTS (jammy) 2.76+ubuntu22.04.1 ubuntu-snappy 2.76+ubuntu22.04.1 Jul 23, 2026
ubuntu-snappy · Ubuntu 24.04.5 LTS (noble) 2.76+ubuntu24.04.1 ubuntu-snappy 2.76+ubuntu24.04.1 Jul 23, 2026
ubuntu-snappy-cli · Ubuntu 18.04.6 LTS (bionic) 2.61.4ubuntu0.18.04.1+esm4 ubuntu-snappy-cli 2.61.4ubuntu0.18.04.1+esm4 Jul 23, 2026
ubuntu-snappy-cli · Ubuntu 20.04 LTS (focal) 2.67.1+20.04ubuntu1~esm3 ubuntu-snappy-cli 2.67.1+20.04ubuntu1~esm3 Jul 23, 2026
ubuntu-snappy-cli · Ubuntu 22.04.1 LTS (jammy) 2.76+ubuntu22.04.1 ubuntu-snappy-cli 2.76+ubuntu22.04.1 Jul 23, 2026
ubuntu-snappy-cli · Ubuntu 24.04.5 LTS (noble) 2.76+ubuntu24.04.1 ubuntu-snappy-cli 2.76+ubuntu24.04.1 Jul 23, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.