Security mailing lists by PureSourceCode

CVE-2024-1724

HIGH 8.2CVSS 3.1

snapd failed to restrict writes to the $HOME/bin path

In snapd versions prior to 2.62, when using AppArmor for enforcement of
sandbox permissions, snapd failed to restrict writes to the $HOME/bin
path. In Ubuntu, when this path exists, it is automatically added to
the users PATH. An attacker who could convince a user to install a
malicious snap which used the 'home' plug could use this vulnerability
to install arbitrary scripts into the users PATH which may then be run
by the user outside of the expected snap sandbox and hence allow them
to escape confinement.

Published
25 Jul 2024
Last modified
10 Sep 2026
Assigned by
security@ubuntu.com
NVD status
Modified
Weakness
CWE-732
Also known as
GHSA-4mh8-9689-38vrGO-2024-3007
Sources
NVDJSONOSV GHSA-4mh8-9689-38vrJSONOSV GO-2024-3007JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
NVD security@ubuntu.com (Secondary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD canonical snapd
cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:*
< 2.62 2.62
OSV Go github.com/snapcore/snapd < 2.62 2.62
OSV Go github.com/snapcore/snapd all versions

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 25 Jul 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Jul 2024)
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.