{"id":"CVE-2024-5138","published":"2024-05-31T21:02:19Z","modified":"2024-09-06T19:48:49Z","title":"The snapctl component within snapd allows a confined snap to interact with the snapd daemon to take certain privileged…","vendor":"Canonical Ltd.","product":"snapd","tier":"tail","description":{"text":"The snapctl component within snapd allows a confined snap to interact with the snapd daemon to take certain privileged actions on behalf of the snap. It was found that snapctl did not properly parse command-line arguments, allowing an unprivileged user to trigger an authorised action on behalf of the snap that would normally require administrator privileges to perform. This could possibly allow an unprivileged user to perform a denial of service or similar.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00834,"percentile":0.58562,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14","tags":["patch"]},{"url":"https://bugs.launchpad.net/snapd/+bug/2065077","tags":["issue-tracking"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-5138","tags":["issue-tracking"]},{"url":"https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46","tags":["issue-tracking"]}],"priority":{"score":17.4,"factors":[{"name":"EPSS percentile","points":11.71},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"canonical","affectedVersions":[{"vendor":"Canonical Ltd.","product":"snapd","versions":["< 68ee9c6aa916ab87dbfd9a26030690f2cabf1e14"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-07T19:03:04.672013Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/snapcore/snapd","vulnerableRanges":[">=2.51.6, <2.63.1","<0.0.0-20240524114846-68ee9c6aa916","all versions"],"patched":["2.63.1","0.0.0-20240524114846-68ee9c6aa916"],"from":["GHSA-p9v8-q5m4-pf46","GO-2024-2906"],"provenance":"source"}],"summary":{"text":"The snapctl component within Canonical's snapd product fails to properly parse command-line arguments, which lets a confined snap interact with the snapd daemon in ways it should not. An unprivileged local user with low privileges can trigger an action on behalf of a snap that would normally require administrator privileges, with no user interaction needed, potentially causing denial of service or similar impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:40:35Z"},"euvd":{"id":"EUVD-2025-0101","exploited":false,"provenance":"source"}}