CVE-2023-1386: Qemu: 9pfs: suid/sgid bits not dropped on file write

Published Jul 19, 2023
·
Updated

A flaw was discovered in 9pfs. Jietao Xiao and his team found that when a local user in the guest tries to write an executable file with SUID or SGID, none of these privileged bits are correctly dropped. As a result, in rare circumstances(exist an executable file owned by root, writable by others, has SUID/SGID bits), this flaw could be used by malicious users in the guest to elevate their privileges within the guest and help a host's local user to elevate privileges on the host.

Upstream issue: https://github.com/v9fs/linux/issues/29

Other sources

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.

MITRE

Affected Software

2 affected components
Qemu Qemu
Fedoraproject Fedora=38

Event History

Jul 19, 2023
Data Sourced
01:03 PM
DescriptionSeverityAffected Software
Jul 24, 2023
CVE Published
via MITRE·03:19 PM
Data Sourced
via MITRE·03:19 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this flaw?

The vulnerability ID for this flaw is CVE-2023-1386.

2

What is the severity level of CVE-2023-1386?

CVE-2023-1386 has a severity level of 7.8 (high).

3

What is the affected software for CVE-2023-1386?

The affected software for CVE-2023-1386 is QEMU and Fedora 38.

4

How can this vulnerability be exploited?

This vulnerability can be exploited by a local user in the guest writing an executable file with SUID or SGID.

5

Are there any fixes available for CVE-2023-1386?

Yes, fixes are available. Please refer to the provided references for more information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203