CVE-2024-5138
Last modified
CVE-2024-5138 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 0.83% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Canonical | Snapd | >= 2.51.6, < 2.63.1 |
References
- https://bugs.launchpad.net/snapd/+bug/2065077Exploit, Issue Tracking, Patch
- https://www.cve.org/CVERecord?id=CVE-2024-5138Third Party Advisory
- https://bugs.launchpad.net/snapd/+bug/2065077Exploit, Issue Tracking, Patch
- https://www.cve.org/CVERecord?id=CVE-2024-5138Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-5138?
How severe is CVE-2024-5138?
How do I fix CVE-2024-5138?
Are you affected by CVE-2024-5138?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
