{"schemaVersion":3,"id":"CVE-2024-5300","aliases":["RHSA-2026:29009","UBUNTU-CVE-2024-5300","DEBIAN-CVE-2024-5300"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-07-21T14:00:51.066Z","modified":"2026-07-22T18:28:16.818Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.6,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":5.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":2.8,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":2.8,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":2.8,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00132,"percentile":0.02478,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.033,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00099},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00099,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00099,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00099,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00099,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00099,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00099,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00099,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00099,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00099,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00099,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00132,"percentile":0.02478}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00099,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00099,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00099,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00099,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00099,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00132,"percentile":0.02478}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-212","name":"Improper Removal of Sensitive Information Before Storage or Transfer","description":"The product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/212.html"}],"affected":[{"vendor":"debian","product":"snapd","name":"snapd","label":"snapd","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/snapd","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.76.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.76.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"snapd","name":"snapd","label":"snapd","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/snapd","purlType":"deb","versions":[{"text":"< 2.61.4ubuntu0.16.04.1+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 2.61.4ubuntu0.18.04.1+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 2.67.1+20.04ubuntu1~esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.76+ubuntu22.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.76+ubuntu24.04.1","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.76+ubuntu26.04.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.61.4ubuntu0.16.04.1+esm4 | < 2.61.4ubuntu0.18.04.1+esm4 | < 2.67.1+20.04ubuntu1~esm3 | < 2.76+ubuntu22.04.1 | < 2.76+ubuntu24.04.1 | All versions (No fix recorded) | < 2.76+ubuntu26.04.3","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd","name":"systemd","label":"systemd","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-boot-unsigned","name":"systemd-boot-unsigned","label":"systemd-boot-unsigned","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-boot-unsigned","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-container","name":"systemd-container","label":"systemd-container","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-container","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-devel","name":"systemd-devel","label":"systemd-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-devel","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-journal-remote","name":"systemd-journal-remote","label":"systemd-journal-remote","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-journal-remote","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-libs","name":"systemd-libs","label":"systemd-libs","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-libs","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-networkd","name":"systemd-networkd","label":"systemd-networkd","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-networkd","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-networkd-defaults","name":"systemd-networkd-defaults","label":"systemd-networkd-defaults","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-networkd-defaults","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-oomd-defaults","name":"systemd-oomd-defaults","label":"systemd-oomd-defaults","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-oomd-defaults","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-pam","name":"systemd-pam","label":"systemd-pam","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-pam","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-resolved","name":"systemd-resolved","label":"systemd-resolved","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-resolved","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-rpm-macros","name":"systemd-rpm-macros","label":"systemd-rpm-macros","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-rpm-macros","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-shared","name":"systemd-shared","label":"systemd-shared","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-shared","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-standalone-repart","name":"systemd-standalone-repart","label":"systemd-standalone-repart","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-standalone-repart","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-standalone-shutdown","name":"systemd-standalone-shutdown","label":"systemd-standalone-shutdown","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-standalone-shutdown","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-standalone-sysusers","name":"systemd-standalone-sysusers","label":"systemd-standalone-sysusers","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-standalone-sysusers","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-standalone-tmpfiles","name":"systemd-standalone-tmpfiles","label":"systemd-standalone-tmpfiles","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-standalone-tmpfiles","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-sysusers","name":"systemd-sysusers","label":"systemd-sysusers","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-sysusers","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-tests","name":"systemd-tests","label":"systemd-tests","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-tests","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-udev","name":"systemd-udev","label":"systemd-udev","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-udev","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"systemd-ukify","name":"systemd-ukify","label":"systemd-ukify","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/systemd-ukify","purlType":"rpm","versions":[{"text":"< 0:261-2.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:261-2.hum1","eol":null,"hubHref":null}],"affectedCount":23,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://ubuntu.com/security/CVE-2024-5300","label":"ubuntu.com/security/CVE-2024-5300","hostname":"ubuntu.com","tags":["VDB Entry","Issue Tracking","ARTICLE","REPORT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:29009","label":"access.redhat.com/errata/RHSA-2026:29009","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://images.redhat.com/","label":"images.redhat.com","hostname":"images.redhat.com","tags":["ARTICLE"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-5300","label":"access.redhat.com/security/cve/CVE-2024-5300","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://access.redhat.com/security/updates/classification/","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_29009.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_29009.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2503660","label":"bugzilla.redhat.com/show_bug.cgi?id=2503660","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-5300","label":"www.cve.org/CVERecord?id=CVE-2024-5300","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5300","label":"nvd.nist.gov/vuln/detail/CVE-2024-5300","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-8579-1","label":"ubuntu.com/security/notices/USN-8579-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-5300","label":"security-tracker.debian.org/tracker/CVE-2024-5300","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-8579-1"],"duplicates":[],"related":["USN-8579-1"]},"timeline":[{"kind":"published","date":"2026-07-21T14:00:51.066Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-22T18:28:16.818Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:49:53.171Z","stale":false,"partial":false}}