CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Canonical

CVE-2024-1724
Canonical Snapd vulnerability

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.

Affected products

Snapd. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Canonical Snapd runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Canonical products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.