snapd: A race condition existed in the snapd 2.54.2 snap-confine binary when preparing a private mount namespace for a snap
CVE-2021-44731 is fixed in 9 products on 1 platform, first by golang-github-snapcore-snapd-dev 2.54.3+18.04, released February 17, 2022. It is not reported as exploited. Patch Radar priority: High.
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
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| golang-github-snapcore-snapd-dev · Ubuntu 18.04.6 LTS (bionic) | 2.54.3+18.04 | golang-github-snapcore-snapd-dev 2.54.3+18.04 | Feb 17, 2022 |
| golang-github-snapcore-snapd-dev · Ubuntu 20.04 LTS (focal) | 2.54.3+20.04.1 | golang-github-snapcore-snapd-dev 2.54.3+20.04.1 | Feb 17, 2022 |
| golang-github-ubuntu-core-snappy-dev · Ubuntu 18.04.6 LTS (bionic) | 2.54.3+18.04 | golang-github-ubuntu-core-snappy-dev 2.54.3+18.04 | Feb 17, 2022 |
| golang-github-ubuntu-core-snappy-dev · Ubuntu 20.04 LTS (focal) | 2.54.3+20.04.1 | golang-github-ubuntu-core-snappy-dev 2.54.3+20.04.1 | Feb 17, 2022 |
| snap-confine · Ubuntu 18.04.6 LTS (bionic) | 2.54.3+18.04 | snap-confine 2.54.3+18.04 | Feb 17, 2022 |
| snap-confine · Ubuntu 20.04 LTS (focal) | 2.54.3+20.04.1 | snap-confine 2.54.3+20.04.1 | Feb 17, 2022 |
| snapd · Debian 12.15 (bookworm) | 2.54.3-1 | DEBIAN-CVE-2021-44731 | Feb 17, 2022 |
| snapd · Debian 13.5 (trixie) | 2.54.3-1 | DEBIAN-CVE-2021-44731 | Feb 17, 2022 |
| snapd · Debian 14 | 2.54.3-1 | DEBIAN-CVE-2021-44731 | Feb 17, 2022 |
| snapd · Ubuntu 18.04.6 LTS (bionic) | 2.54.3+18.04 | snapd 2.54.3+18.04 | Feb 17, 2022 |
| snapd · Ubuntu 20.04 LTS (focal) | 2.54.3+20.04.1 | snapd 2.54.3+20.04.1 | Feb 17, 2022 |
| snapd-xdg-open · Ubuntu 18.04.6 LTS (bionic) | 2.54.3+18.04 | snapd-xdg-open 2.54.3+18.04 | Feb 17, 2022 |
| snapd-xdg-open · Ubuntu 20.04 LTS (focal) | 2.54.3+20.04.1 | snapd-xdg-open 2.54.3+20.04.1 | Feb 17, 2022 |
| ubuntu-core-launcher · Ubuntu 18.04.6 LTS (bionic) | 2.54.3+18.04 | ubuntu-core-launcher 2.54.3+18.04 | Feb 17, 2022 |
| ubuntu-core-launcher · Ubuntu 20.04 LTS (focal) | 2.54.3+20.04.1 | ubuntu-core-launcher 2.54.3+20.04.1 | Feb 17, 2022 |
| ubuntu-core-snapd-units · Ubuntu 18.04.6 LTS (bionic) | 2.54.3+18.04 | ubuntu-core-snapd-units 2.54.3+18.04 | Feb 17, 2022 |
| ubuntu-core-snapd-units · Ubuntu 20.04 LTS (focal) | 2.54.3+20.04.1 | ubuntu-core-snapd-units 2.54.3+20.04.1 | Feb 17, 2022 |
| ubuntu-snappy · Ubuntu 18.04.6 LTS (bionic) | 2.54.3+18.04 | ubuntu-snappy 2.54.3+18.04 | Feb 17, 2022 |
| ubuntu-snappy · Ubuntu 20.04 LTS (focal) | 2.54.3+20.04.1 | ubuntu-snappy 2.54.3+20.04.1 | Feb 17, 2022 |
| ubuntu-snappy-cli · Ubuntu 18.04.6 LTS (bionic) | 2.54.3+18.04 | ubuntu-snappy-cli 2.54.3+18.04 | Feb 17, 2022 |
| ubuntu-snappy-cli · Ubuntu 20.04 LTS (focal) | 2.54.3+20.04.1 | ubuntu-snappy-cli 2.54.3+20.04.1 | Feb 17, 2022 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.