GHSA-jrr7-64m9-x984: Duplicate Advisory: CVE-2024-5138: snapd snapctl auth bypass
This advisory was withdrawn on Jan 16, 2025. The publisher no longer considers it a valid vulnerability.
Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-p9v8-q5m4-pf46. This link is maintained to preserve external references. Original 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.
Published May 31, 2024 · Updated Jan 16, 2025
Affected packages
github.com/snapcore/snapd
- Ecosystem
- Go
- Affected
- >= 2.51.6, < 2.63.1
- Fixed in
- 2.63.1
- Check
go list -m github.com/snapcore/snapd
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-p9v8-q5m4-pf46. This link is maintained to preserve external references.
Original 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.
References
- https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46
- https://nvd.nist.gov/vuln/detail/CVE-2024-5138
- https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14
- https://bugs.launchpad.net/snapd/+bug/2065077
- https://www.cve.org/CVERecord?id=CVE-2024-5138
- https://github.com/advisories/GHSA-jrr7-64m9-x984
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2024-5138
CVE-2024-5138: snapd snapctl auth bypass
medium4.0Jan 16, 2025CVE-2024-1724
snapd failed to restrict writes to the $HOME/bin path
medium6.3Jul 25, 2024CVE-2024-29068
snapd failed to properly check the file type when extracting a snap
medium5.8Jul 25, 2024CVE-2024-29069
snapd failed to properly check the destination of symbolic links when extracting a snap
low4.8Jul 25, 2024CVE-2022-3328
snapd Race Condition vulnerability
critical7.8Jan 8, 2024
