VDB
CVE-2021-44731
CVE-2021-44731
PUBLISHED
CVSS 7.800000190734863 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
EPSS 0.94% · 58.2th percentile
Risk Scores
CVSS 3.1
7.800000190734863
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS Score
0.94%
58.2th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| fedoraproject | fedora | 35, 34 |
| canonical | snapd | 0 |
| canonical | ubuntu_linux | 20.04, 21.10, 18.04 |
| debian | debian_linux | 11.0, 10.0 |
| Canonical Ltd. | snapd | * |
Timeline
- Feb 17, 2022 CVE Published
- Feb 18, 2022 EPSS Score
- Feb 20, 2022 EPSS Score
- Jun 3, 2022 EPSS Score
- Jul 26, 2022 EPSS Score
- Nov 8, 2022 EPSS Score
- Dec 10, 2022 PoC Published
- Dec 30, 2022 EPSS Score
- Feb 20, 2023 EPSS Score
- Apr 14, 2023 EPSS Score
- Jun 5, 2023 EPSS Score
- Sep 18, 2023 EPSS Score
References
- [oss-security] 20220218 CVE-2021-4120: Insufficient validation of snap content interface and layout paths mailing-list
- FEDORA-2022-82bea71e5a vendor-advisory
- FEDORA-2022-5df8b52ba4 vendor-advisory
- DSA-5080 vendor-advisory
- [oss-security] 20221130 Race condition in snap-confine's must_mkdir_and_open_with_perms() (CVE-2022-3328) mailing-list
- 20221208 Race condition in snap-confine's must_mkdir_and_open_with_perms() (CVE-2022-3328) mailing-list
- https://ubuntu.com/security/notices/USN-5292-1 url
- [oss-security] 20220223 Re: CVE-2021-44731: Race condition in snap-confine's setup_private_mount() mailing-list
- [oss-security] 20220223 Re: CVE-2021-44731: Race condition in snap-confine's setup_private_mount() mailing-list
- http://packetstormsecurity.com/files/170176/snap-confine-must_mkdir_and_open_with_perms-Race-Condition.html url
- https://nvd.nist.gov/vuln/detail/CVE-2021-44731 advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3QTBN7LLZISXIA4KU4UKDR27Q5PXDS2U url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XCGHG6LJAVJJ72TMART6A7N4Z6MSTGI7 url