Security mailing lists by PureSourceCode

CVE-2024-5138

HIGH 8.1CVSS 3.1

CVE-2024-5138: snapd snapctl auth bypass

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.

Published
31 May 2024
Last modified
8 Jul 2026
Assigned by
security@ubuntu.com
NVD status
Analyzed
Weakness
CWE-20CWE-285
Also known as
GHSA-p9v8-q5m4-pf46GO-2024-2906
Sources
NVDJSONOSV GHSA-p9v8-q5m4-pf46JSONOSV GO-2024-2906JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
OSV GitHub CVSS 3.1 MEDIUM 4.0 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD canonical snapd
cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:*
>= 2.51.6, < 2.63.1 2.63.1
OSV Go github.com/snapcore/snapd >= 2.51.6, < 2.63.1 2.63.1
OSV Go github.com/snapcore/snapd < 0.0.0-20240524114846-68ee9c6aa916 0.0.0-20240524114846-68ee9c6aa916
OSV Go github.com/snapcore/snapd all versions

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 31 May 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Jun 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Jan 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.