CVE-2023-1386

Qemu: 9pfs: suid/sgid bits not dropped on file write

State
Published
Severity
3.3 Low
Published
Jul 24, 2023
Updated
Sep 25, 2024
Reserved
Mar 14, 2023

Read the record on cve.org

Description

A flaw was found in the 9p passthrough filesystem (9pfs) implementation in QEMU. When a local user in the guest writes an executable file with SUID or SGID, none of these privileged bits are correctly dropped. As a result, in rare circumstances, this flaw could be used by malicious users in the guest to elevate their privileges within the guest and help a host local user to elevate privileges on the host.

Scores

CVSSScoreVectorSource
3.13.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:Nredhat

Weaknesses

  • CWE-281 Improper Preservation of Permissions

Affected Products

ProductVersions
qemun/a
    Red Hat Enterprise Linux 6Red Hat
      Red Hat Enterprise Linux 7Red Hat
        Red Hat Enterprise Linux 7Red Hat
          Red Hat Enterprise Linux 8Red Hat
            Red Hat Enterprise Linux 8 Advanced VirtualizationRed Hat
              Red Hat Enterprise Linux 9Red Hat
                FedoraFedora
                  Extra Packages for Enterprise LinuxFedora

                    References

                    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.