CVE-2024-5300

mediumpriority · track · 0EPSS 0.001 · 3 %ileDEEU
grimoire priorityP3 · Track
Exploitable?
—
no known exploitation
Likely / severe?
0.13% (3rd) EPSS
CVSS 5.6 · medium
Is it mine?
20 products
Check your exposure
Who says so?
3 sources
cnnvd · enisa_euvd · cert_bund

EPSS · scored 2026-10-27

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.

01

cvss

Technical severity, 0–10. One row per scoring source.

5.6
010

base score 0–10 · higher = more severe · hover a vector to decode

v3.15.6mediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:Nsecondary · ENISA EU
v3.15.6mediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:Nsecondary · security@ubuntu.comexploitability 1.1 · impact 4
v3.15.1mediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N/E:Usecondary · CVSS-BT (t0sche)
02

ssvc

A stakeholder decision — act, attend, or track — from exploitation and impact.

Trackcoordinatorcisa_ssvcUS
03

weaknesses

The CWE weakness classes this flaw belongs to.

04

affected products (20)

Products and version ranges known to be affected.

05

advisories (1)

Vendor and ecosystem advisories describing this.

  • WID-SEC-W-2026-2469snapd: Mehrere SchwachstellenDeutsch2026-07-21csaf · cert_bundDE

    Ein lokaler Angreifer kann mehrere Schwachstellen in Ubuntu Linux und Canonical Snap ausnutzen, um Informationen offenzulegen, Root-Rechte zu erlangen und Sicherheitsmaßnahmen zu umgehen.

06

also known as (3)

Other names and identifiers for this entity.

07

sources

Which sources assert this record, and when.

published 2026-07-21modified 2026-07-22
08

references (3)

External citations — patches, advisories, analysis.

scry

Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.

Free scan