DEBIAN-CVE-2024-5300

Source
https://security-tracker.debian.org/tracker/CVE-2024-5300
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-5300.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2024-5300
Upstream
Published
2026-07-21T15:16:29Z
Modified
2026-09-15T09:03:14Z
Severity
  • 5.6 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / snapd

Package

Name
snapd
Purl
pkg:deb/debian/snapd?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-5300.json"

Debian:13 / snapd

Package

Name
snapd
Purl
pkg:deb/debian/snapd?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-5300.json"

Debian:14 / snapd

Package

Name
snapd
Purl
pkg:deb/debian/snapd?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.76.3-1

Affected versions

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-5300.json"