← Back to CVEs
CVE-2024-5138
HIGH8.1
Description
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.
CVE Details
CVSS v3.1 Score8.1
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
Published5/31/2024
Last Modified8/26/2025
Sourcenvd
Honeypot Sightings0
Affected Products
canonical:snapd
Weaknesses (CWE)
CWE-20
References
https://bugs.launchpad.net/snapd/+bug/2065077(security@ubuntu.com)
https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14(security@ubuntu.com)
https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46(security@ubuntu.com)
https://www.cve.org/CVERecord?id=CVE-2024-5138(security@ubuntu.com)
https://bugs.launchpad.net/snapd/+bug/2065077(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46(af854a3a-2127-422b-91ae-364da2661108)
https://www.cve.org/CVERecord?id=CVE-2024-5138(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.