CVE-2021-20263 json
A flaw was found in the virtio-fs shared file system daemon (virtiofsd) of QEMU.
published 2021-03-09 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-7699
- cvss
- 3.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
A flaw was found in the virtio-fs shared file system daemon (virtiofsd) of QEMU. The new 'xattrmap' option may cause the 'security.capability' xattr in the guest to not drop on file write, potentially leading to a modified, privileged executable in the guest. In rare circumstances, this flaw could be used by a malicious user to elevate their privileges within the guest.
Patch / fix
- qemu qemu 5.2.50
- qemu Debian 14, Debian 13, Debian 12 1:5.2+dfsg-9
debian advisories DEBIAN-CVE-2021-20263
- qemu SLE Module for Server Applications 15 SP3, SLE Module for Basesystem 15 SP3 5.2.0-17.1
suse advisories SUSE-SU-2021:1942-1
- qemu openSUSE Tumbleweed 6.1.0-32.1
- qemu openSUSE Leap 15.3 5.2.0-17.1
opensuse advisories openSUSE-SU-2024:11287-1openSUSE-SU-2021:1942-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-20263 updated cvss 3.3
QEMU: virtiofsd: 'security.capabilities' is not dropped with xattrmap option
-
Red Hat Enterprise Linux 9 qemu-img, qemu-kvm, qemu-kvm-core, qemu-kvm-tools, qemu-pr-helper, qemu-kvm-common, +16 moreaffected: no fix available
-
Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32 Red Hat Enterprise Linux 7 qemu-img, qemu-kvm, libcacard, qemu-img-ma, qemu-kvm-ma, qemu-kvm-rhev, +6 more Red Hat Enterprise Linux 8 qemu-img, qemu-kvm, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, qemu-guest-agent, +8 more Red Hat Enterprise Linux 8 Advanced Virtualization qemu-img, qemu-kvm, qemu-kiwi, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, +9 more Red Hat OpenStack Platform 10 (Newton) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhev Red Hat OpenStack Platform 13 (Queens) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhevnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:P/A:N |
Affected products
- n/a QEMU
Classification
- Weakness
-
- CWE-281 Improper Preservation of Permissions
References
-
bugzilla.redhat.com
/show_bug.cgi?id=1933668
issue-tracking, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2021/03/08/1
mailing-list, patch, third-party-advisory
-
security.gentoo.org
/glsa/202208-27
vendor-advisory, third-party-advisory
-
security.netapp.com
/advisory/ntap-20210507-0002/
third-party-advisory
Sources
- CVE List CVE-2021-20263
- NVD CVE-2021-20263
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.