CVE-2023-1386

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

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.

Category

3.3
CVSS
Severity: Low
CVSS 3.1 •
EPSS 0.01%
Third-Party Advisory redhat.com Third-Party Advisory redhat.com
Affected: n/a qemu
Affected: Red Hat Red Hat Enterprise Linux 6
Affected: Red Hat Red Hat Enterprise Linux 7
Affected: Red Hat Red Hat Enterprise Linux 7
Affected: Red Hat Red Hat Enterprise Linux 8
Affected: Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization
Affected: Red Hat Red Hat Enterprise Linux 9
Affected: Fedora Fedora
Affected: Fedora Extra Packages for Enterprise Linux
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-1386?
CVE-2023-1386 has been scored as a low severity vulnerability.
How to fix CVE-2023-1386?
To fix CVE-2023-1386, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-1386 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-1386 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-1386?
CVE-2023-1386 affects n/a qemu, Red Hat Red Hat Enterprise Linux 6, Red Hat Red Hat Enterprise Linux 7, Red Hat Red Hat Enterprise Linux 7, Red Hat Red Hat Enterprise Linux 8, Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization, Red Hat Red Hat Enterprise Linux 9, Fedora Fedora, Fedora Extra Packages for Enterprise Linux.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.