Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-5300

published medium CVSS 3.1 · 5.6

AppArmor Base Profile Misconfiguration in snapd Permits Confined Snaps Unauthorized Access to Hashed Passwords via systemd-userdbd

Published
21 Jul 2026, 14:00:51 UTC
Updated
22 Jul 2026, 18:28:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Not stated — snapd0 to < 2.76.1 · Other versions: unaffected Affected Not stated canonical
Canonical — snapdUbuntu 26.04 LTS · 2.76+ubuntu26.04.3 · Other versions: affected · Platforms: Linux Unaffected Not stated canonical
Canonical — snapdUbuntu 24.04 LTS · 2.76+ubuntu24.04.1 · Other versions: affected · Platforms: Linux Unaffected Not stated canonical
Canonical — snapdUbuntu 22.04 LTS · 2.76+ubuntu22.04.1 · Other versions: affected · Platforms: Linux Unaffected Not stated canonical
Ubuntu bionic snapd Advisory build 2.61.4ubuntu0.18.04.1+esm4 USN-8579-1
Ubuntu focal snapd Advisory build 2.67.1+20.04ubuntu1~esm3 USN-8579-1
Ubuntu jammy snapd Advisory build 2.76+ubuntu22.04.1 USN-8579-1
Ubuntu noble snapd Advisory build 2.76+ubuntu24.04.1 USN-8579-1
Show 46 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Canonical — snapdUbuntu 20.04 LTS · 2.67.1+20.04ubuntu1~esm2 · Other versions: affected · Platforms: Linux Unaffected Not stated canonical
Canonical — snapdUbuntu 18.04 LTS · 2.61.4ubuntu0.18.04.1+esm3 · Other versions: affected · Platforms: Linux Unaffected Not stated canonical
Canonical — snapdUbuntu 16.04 LTS · 2.61.4ubuntu0.16.04.1+esm3 · Other versions: affected · Platforms: Linux Unaffected Not stated canonical
Ubuntu resolute snapd Advisory build 2.76+ubuntu26.04.3 USN-8579-1
Ubuntu xenial snapd Advisory build 2.61.4ubuntu0.16.04.1+esm4 USN-8579-1
Ubuntu bionic golang-github-snapcore-snapd-dev Advisory build 2.61.4ubuntu0.18.04.1+esm4 USN-8579-1
Ubuntu bionic golang-github-ubuntu-core-snappy-dev Advisory build 2.61.4ubuntu0.18.04.1+esm4 USN-8579-1
Ubuntu bionic snap-confine Advisory build 2.61.4ubuntu0.18.04.1+esm4 USN-8579-1
Ubuntu bionic snapd-xdg-open Advisory build 2.61.4ubuntu0.18.04.1+esm4 USN-8579-1
Ubuntu bionic ubuntu-core-launcher Advisory build 2.61.4ubuntu0.18.04.1+esm4 USN-8579-1
Ubuntu bionic ubuntu-core-snapd-units Advisory build 2.61.4ubuntu0.18.04.1+esm4 USN-8579-1
Ubuntu bionic ubuntu-snappy Advisory build 2.61.4ubuntu0.18.04.1+esm4 USN-8579-1
Ubuntu bionic ubuntu-snappy-cli Advisory build 2.61.4ubuntu0.18.04.1+esm4 USN-8579-1
Ubuntu focal golang-github-snapcore-snapd-dev Advisory build 2.67.1+20.04ubuntu1~esm3 USN-8579-1
Ubuntu focal golang-github-ubuntu-core-snappy-dev Advisory build 2.67.1+20.04ubuntu1~esm3 USN-8579-1
Ubuntu focal snap-confine Advisory build 2.67.1+20.04ubuntu1~esm3 USN-8579-1
Ubuntu focal snapd-xdg-open Advisory build 2.67.1+20.04ubuntu1~esm3 USN-8579-1
Ubuntu focal ubuntu-core-launcher Advisory build 2.67.1+20.04ubuntu1~esm3 USN-8579-1
Ubuntu focal ubuntu-core-snapd-units Advisory build 2.67.1+20.04ubuntu1~esm3 USN-8579-1
Ubuntu focal ubuntu-snappy Advisory build 2.67.1+20.04ubuntu1~esm3 USN-8579-1
Ubuntu focal ubuntu-snappy-cli Advisory build 2.67.1+20.04ubuntu1~esm3 USN-8579-1
Ubuntu jammy golang-github-snapcore-snapd-dev Advisory build 2.76+ubuntu22.04.1 USN-8579-1
Ubuntu jammy golang-github-ubuntu-core-snappy-dev Advisory build 2.76+ubuntu22.04.1 USN-8579-1
Ubuntu jammy snap-confine Advisory build 2.76+ubuntu22.04.1 USN-8579-1
Ubuntu jammy snapd-xdg-open Advisory build 2.76+ubuntu22.04.1 USN-8579-1
Ubuntu jammy ubuntu-core-launcher Advisory build 2.76+ubuntu22.04.1 USN-8579-1
Ubuntu jammy ubuntu-core-snapd-units Advisory build 2.76+ubuntu22.04.1 USN-8579-1
Ubuntu jammy ubuntu-snappy Advisory build 2.76+ubuntu22.04.1 USN-8579-1
Ubuntu jammy ubuntu-snappy-cli Advisory build 2.76+ubuntu22.04.1 USN-8579-1
Ubuntu noble golang-github-snapcore-snapd-dev Advisory build 2.76+ubuntu24.04.1 USN-8579-1
Ubuntu noble golang-github-ubuntu-core-snappy-dev Advisory build 2.76+ubuntu24.04.1 USN-8579-1
Ubuntu noble snap-confine Advisory build 2.76+ubuntu24.04.1 USN-8579-1
Ubuntu noble snapd-xdg-open Advisory build 2.76+ubuntu24.04.1 USN-8579-1
Ubuntu noble ubuntu-core-launcher Advisory build 2.76+ubuntu24.04.1 USN-8579-1
Ubuntu noble ubuntu-core-snapd-units Advisory build 2.76+ubuntu24.04.1 USN-8579-1
Ubuntu noble ubuntu-snappy Advisory build 2.76+ubuntu24.04.1 USN-8579-1
Ubuntu noble ubuntu-snappy-cli Advisory build 2.76+ubuntu24.04.1 USN-8579-1
Ubuntu resolute golang-github-snapcore-snapd-dev Advisory build 2.76+ubuntu26.04.3 USN-8579-1
Ubuntu xenial golang-github-snapcore-snapd-dev Advisory build 2.61.4ubuntu0.16.04.1+esm4 USN-8579-1
Ubuntu xenial golang-github-ubuntu-core-snappy-dev Advisory build 2.61.4ubuntu0.16.04.1+esm4 USN-8579-1
Ubuntu xenial snap-confine Advisory build 2.61.4ubuntu0.16.04.1+esm4 USN-8579-1
Ubuntu xenial snapd-xdg-open Advisory build 2.61.4ubuntu0.16.04.1+esm4 USN-8579-1
Ubuntu xenial ubuntu-core-launcher Advisory build 2.61.4ubuntu0.16.04.1+esm4 USN-8579-1
Ubuntu xenial ubuntu-core-snapd-units Advisory build 2.61.4ubuntu0.16.04.1+esm4 USN-8579-1
Ubuntu xenial ubuntu-snappy Advisory build 2.61.4ubuntu0.16.04.1+esm4 USN-8579-1
Ubuntu xenial ubuntu-snappy-cli Advisory build 2.61.4ubuntu0.16.04.1+esm4 USN-8579-1

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.

en · canonical · cna

Vendor advisories explicitly linked to this CVE.

6

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.6 / 10
Severity
medium
Provider
canonical · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
snapd 0 to < 2.76.1 (affected · semver)Default: unaffected canonical · cna
Canonical Ubuntu 26.04 LTS 2.76+ubuntu26.04.3 (unaffected · dpkg)Default: affected canonical · cna
Canonical Ubuntu 24.04 LTS 2.76+ubuntu24.04.1 (unaffected · dpkg)Default: affected canonical · cna
Canonical Ubuntu 22.04 LTS 2.76+ubuntu22.04.1 (unaffected · dpkg)Default: affected canonical · cna
Canonical Ubuntu 20.04 LTS 2.67.1+20.04ubuntu1~esm2 (unaffected · dpkg)Default: affected canonical · cna
Canonical Ubuntu 18.04 LTS 2.61.4ubuntu0.18.04.1+esm3 (unaffected · dpkg)Default: affected canonical · cna
Canonical Ubuntu 16.04 LTS 2.61.4ubuntu0.16.04.1+esm3 (unaffected)Default: affected canonical · cna

Weaknesses

1
  • CWE-212 CWE-212 Improper removal of sensitive information before storage or transfer (canonical · cna)

References

1

Provider assertions

2

canonical · cna

AppArmor Base Profile Misconfiguration in snapd Permits Confined Snaps Unauthorized Access to Hashed Passwords via systemd-userdbd

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
e0474ad690a303953724ae64a74308e113e0efbaff6fc265b8e7a4df632ac42a
Ingested
23 Sep 2026, 08:32:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected