CVE-2021-44731
A public proof of concept exists; no exploitation attested.
- Published2022-02-17
- WeaknessCWE-362
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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
Timeline
dates in UTC- 2022-02-1723:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2021-44731?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2021-44731?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 18.4 | = 18.04 | no fix published | NVD |
| 20.4 | = 20.04 | no fix published | NVD |
| 21.10 | = 21.10 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.0 | = 10.0 | no fix published | NVD |
| 11.0 | = 11.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 34.x | = 34 | no fix published | NVD |
| 35.x | = 35 | no fix published | NVD |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- snapdUbuntu:Pro:16.04:LTSall versions · fixed in 2.54.3+16.04~esm2
- snapdUbuntu:Pro:14.04:LTSall versions · fixed in 2.54.3+14.04~esm1
- snapdUbuntu:20.04:LTSall versions · fixed in 2.54.3+20.04.1
- snapdUbuntu:20.04:LTSall versions · fixed in 2.54.3+20.04
- snapdUbuntu:18.04:LTSall versions · fixed in 2.54.3+18.04
- snapdDebian:14all versions · fixed in 2.54.3-1
- snapdDebian:13all versions · fixed in 2.54.3-1
- snapdDebian:12all versions · fixed in 2.54.3-1
2 more package ranges on OSV.dev
Vendor advisories
- CVE-2021-44731 Red Hat Product Security
snapd: Race condition in snap-confine's setup_private_mount()
Fix
Advisories and patches
- ubuntu.comPatch · Vendor Advisory
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- 1 repository, unverifieddeeexcee-io/CVE-2021-44731-snap-confine-SUID PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- CNACVSS 3.17.8known since 2026-10-23
- NVDCVSS 3.17.8read 2026-10-23
- NVDCVSS 2.06.9read 2026-10-23
- CNAweakness (CWE)CWE-362known since 2026-10-23
- NVDweakness (CWE)CWE-362read 2026-10-23
- FIRST EPSSEPSS score1.0 %2026-11-03
- PoC-in-GitHubproof of concept1read 2026-11-03
- OSVaffected packages—
Identifiers
- EUVD-2021-31546same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- DSA-5080-1advisory covering several CVEsDebian · LicenseRef-unstated
- USN-5292-1advisory covering several CVEsUbuntu
- USN-5292-2advisory covering several CVEsUbuntu
- USN-5292-3advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- Published
- 2022-02-17
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2021-44731?
Is CVE-2021-44731 actively exploited?
What is the CVSS score for CVE-2021-44731?
Running snapd? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0