Skip to main content
← All vulnerabilities
CVE-2024-5138GHSA-P9V8-Q5M4-PF46GO-2024-2906

The snapctl component within snapd allows a confined snap to interact with the snapd daemon to take certain privileged actions on behalf of

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.63.1, 0.0.0-20240524114846-68ee9c6aa916
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • snapd

    Version range not reported

  • github.com/snapcore/snapdGo

    From 2.51.6 · fixed in 2.63.1

  • github.com/snapcore/snapdGo

    fixed in 0.0.0-20240524114846-68ee9c6aa916

  • github.com/snapcore/snapdGo

    All versions

References 4

GitHub · snapcore/snapd

bugs.launchpad.net

cve.org