CVE-2021-44731

NameCVE-2021-44731
DescriptionA 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
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5080-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
snapd (PTS)buster, buster (security)2.37.4-1+deb10u1fixed
bullseye (security), bullseye2.49-1+deb11u1fixed
bookworm, sid2.54.3-1.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
snapdsourcebuster2.37.4-1+deb10u1DSA-5080-1
snapdsourcebullseye2.49-1+deb11u1DSA-5080-1
snapdsource(unstable)2.54.3-1

Notes

https://www.openwall.com/lists/oss-security/2022/02/17/2

Search for package or bug name: Reporting problems