CVE-2023-2861: Qemu: 9pfs: improper access control on special files

Published Jun 30, 2023
·
Updated

A flaw was found in the 9p passthrough filesystem (9pfs) implementation in QEMU. The 9pfs server did not prohibit opening special files on the host side, potentially allowing a malicious client to escape from the exported 9p tree by creating and opening a device file in the shared folder.

Other sources

The 9p protocol does not specifically define how server shall behave when client tries to open a special file, however from security POV it does make sense for 9p server to prohibit opening any special file on host side in general. A sane Linux 9p client for instance would never attempt to open a special file on host side, it would always handle those exclusively on its guest side. A malicious client however could potentially escape from the exported 9p tree by creating and opening a device file on host side.

https://gitlab.com/qemu-project/qemu/-/commit/f6b0de53fb87ddefed348a39284c8e2f28dc4eda

Red Hat

Affected Software

6 affected componentsFixes available
redhat/qemu-kvm<8.1.0
8.1.0
ubuntu/qemu<1:4.2-3ubuntu6.28
1:4.2-3ubuntu6.28
ubuntu/qemu<1:6.2+dfsg-2ubuntu6.16
1:6.2+dfsg-2ubuntu6.16
ubuntu/qemu<1:7.2+dfsg-5ubuntu2.4
1:7.2+dfsg-5ubuntu2.4
debian/qemu<=1:5.2+dfsg-11+deb11u3, <=1:5.2+dfsg-11+deb11u2
1:7.2+dfsg-7+deb12u71:9.0.2+ds-21:9.1.0+ds-3
Qemu Qemu<8.1.0

Event History

Jun 30, 2023
CVE Published
via Ubuntu·12:00 AM
Dec 6, 2023
CVE Published
via MITRE·06:19 AM
Data Sourced
via MITRE·06:19 AM
DescriptionSeverityWeakness
Mar 28, 2024
Data Sourced
via Launchpad·09:00 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

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 severity of CVE-2023-2861?

CVE-2023-2861 has a high severity rating due to the potential for unauthorized file access and system escape.

2

How do I fix CVE-2023-2861?

To fix CVE-2023-2861, update QEMU to the latest version specified in the mitigation guidelines for your operating system.

3

What systems are affected by CVE-2023-2861?

CVE-2023-2861 affects multiple versions of QEMU running on Red Hat and Ubuntu systems.

4

Can CVE-2023-2861 be exploited remotely?

Yes, CVE-2023-2861 can be exploited by a malicious client connecting to the 9p passthrough filesystem.

5

What kind of vulnerability is CVE-2023-2861?

CVE-2023-2861 is a filesystem vulnerability allowing potential escape from a restricted environment.

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