Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Canonical | Snapd | >= 2.51.6, < 2.63.1 |
Related Weaknesses (CWE)
References
- https://bugs.launchpad.net/snapd/+bug/2065077ExploitIssue TrackingPatch
- https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e1Patch
- https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46Vendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2024-5138Third Party Advisory
- https://bugs.launchpad.net/snapd/+bug/2065077ExploitIssue TrackingPatch
- https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e1Patch
- https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46Vendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2024-5138Third Party Advisory
FAQ
What is CVE-2024-5138?
CVE-2024-5138 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 c...
How severe is CVE-2024-5138?
CVE-2024-5138 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-5138?
Check the references section above for vendor advisories and patch information. Affected products include: Canonical Snapd.