CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Canonical

CVE-2021-44731
Canonical Snapd vulnerability

A race condition existed in the snapd 2.54.2 snap-confine binary when preparing a private mount namespace for a snap. This could allow a local attacker to gain root privileges by bind-mounting their own contents inside the snap's private mount namespace and causing snap-confine to execute arbitrary code and hence gain privilege escalation. Fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04 and 2.54.3+21.10.1

Affected products

Snapd, Ubuntu Linux, Fedora, Debian Linux. 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.