Vulnerability Name:

CVE-2021-20263 (CCN-197866)

Assigned:2020-12-17
Published:2021-03-08
Updated:2022-09-30
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.
CVSS v3 Severity:3.3 Low (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N)
2.9 Low (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
8.4 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.3 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:2.1 Low (CVSS v2 Vector: AV:L/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
7.2 High (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-281
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2021-20263

Source: MISC
Type: Issue Tracking, Patch, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1933668

Source: XF
Type: UNKNOWN
qemu-cve202120263-priv-esc(197866)

Source: CCN
Type: qemu-devel Web site
[PATCH] virtiofs: drop remapped security.capability xattr as needed

Source: CCN
Type: oss-sec Mailing List, Mon, 8 Mar 2021 15:35:38 +0100
CVE-2021-20263 QEMU: virtiofsd: 'security.capabilities' is not dropped with xattrmap option

Source: GENTOO
Type: Third Party Advisory
GLSA-202208-27

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20210507-0002/

Source: MISC
Type: Mailing List, Patch, Third Party Advisory
https://www.openwall.com/lists/oss-security/2021/03/08/1

Vulnerable Configuration:Configuration 1:
  • cpe:/a:qemu:qemu:*:*:*:*:*:*:*:* (Version >= 5.0.0 and < 5.2.50)

  • Configuration CCN 1:
  • cpe:/a:qemu:qemu:-:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:8034
    P
    libpcp-devel-5.2.5-150400.5.3.11 on GA media (Moderate)
    2023-06-20
    oval:org.opensuse.security:def:7791
    P
    qemu-tools-7.1.0-150500.47.15 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:719
    P
    Security update for gstreamer-plugins-good (Important)
    2022-08-31
    oval:org.opensuse.security:def:3620
    P
    Security update for xen (Important)
    2022-07-06
    oval:org.opensuse.security:def:3187
    P
    libidn-tools-1.28-5.6.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:3518
    P
    guile-2.0.9-9.3.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:95148
    P
    qemu-6.2.0-150400.35.10 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:94817
    P
    qemu-tools-6.2.0-150400.35.10 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:351
    P
    qemu-6.2.0-150400.35.10 on GA media (Moderate)
    2022-06-10
    oval:org.opensuse.security:def:6053
    P
    Security update for postgresql13 (Important)
    2022-05-25
    oval:org.opensuse.security:def:113318
    P
    qemu-6.1.0-32.1 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:106728
    P
    qemu-6.1.0-32.1 on GA media (Moderate)
    2021-10-01
    oval:org.opensuse.security:def:111576
    P
    Security update for qemu (Important)
    2021-07-11
    oval:org.opensuse.security:def:1611
    P
    Security update for qemu (Important)
    2021-06-10
    oval:org.opensuse.security:def:73831
    P
    Security update for qemu (Important)
    2021-06-10
    oval:org.opensuse.security:def:97059
    P
    Security update for qemu (Important)
    2021-06-10
    oval:org.opensuse.security:def:69123
    P
    Security update for qemu (Important)
    2021-06-10
    oval:org.opensuse.security:def:76210
    P
    Security update for qemu (Important)
    2021-06-10
    oval:org.opensuse.security:def:101450
    P
    Security update for qemu (Important)
    2021-06-10
    oval:org.opensuse.security:def:64709
    P
    Security update for qemu (Important)
    2021-06-10
    oval:org.opensuse.security:def:67142
    P
    Security update for qemu (Important)
    2021-06-10
    BACK
    qemu qemu *
    qemu qemu -