CVE-2023-2861Qemu: 9pfs: improper access control on special files
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | qemu | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | qemu | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | qemu | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | kvmtool | Fix pending | 0.20170904-1.1ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2023-2861 |
| Ubuntu 22.04 | qemu | Fixed | 1:6.2+dfsg-2ubuntu6.16 | UBUNTU-CVE-2023-2861 |
| Ubuntu 20.04 | kvmtool | Fix pending | 0.20170904-1ubuntu0.20.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-2861 |
| Ubuntu 20.04 | qemu | Fixed | 1:4.2-3ubuntu6.28 | UBUNTU-CVE-2023-2861 |
| Ubuntu 18.04 | kvmtool | Fix pending | 0.20170904-1ubuntu0.18.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-2861 |
| Ubuntu 18.04 | qemu | Fix pending | 1:2.11+dfsg-1ubuntu7.42+esm5 (Ubuntu Pro) | UBUNTU-CVE-2023-2861 |
| Ubuntu 16.04 | kvmtool | Fix pending | 0.20151104-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-2861 |
| Ubuntu 16.04 | qemu | Fix pending | 1:2.5+dfsg-5ubuntu10.51+esm4 (Ubuntu Pro) | UBUNTU-CVE-2023-2861 |
| Ubuntu 14.04 | qemu | Fix pending | 2.0.0+dfsg-2ubuntu1.47+esm6 (Ubuntu Pro) | UBUNTU-CVE-2023-2861 |
| Debian 14 | qemu | Fixed | 1:8.0.3+dfsg-1 | DEBIAN-CVE-2023-2861 |
| Debian 13 | qemu | Fixed | 1:8.0.3+dfsg-1 | DEBIAN-CVE-2023-2861 |
| Debian 12 | qemu | Fixed | 1:7.2+dfsg-7+deb12u1 | DEBIAN-CVE-2023-2861 |
| Red Hat Enterprise Linux 9 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-audio-pa | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-block-blkio | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-block-curl | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-block-rbd | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-common | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-core | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-ccw | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-gl | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-pci | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-pci-gl | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-vga | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-vga-gl | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-usb-host | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-usb-redirect | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-ui-egl-headless | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-ui-opengl | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-pr-helper | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-curl | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-gluster | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-iscsi | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-rbd | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-ssh | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-common | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-core | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-docs | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-hw-usbredir | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-ui-opengl | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-ui-spice | Not affected | ||
| Red Hat Enterprise Linux 7 | libcacard | Not affected | ||
| Red Hat Enterprise Linux 7 | libcacard-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libcacard-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-img-ma | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-common | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-common-ma | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-ma | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-tools-ma | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-guest-agent-win32 | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-kvm-tools | Not affected | ||
| Alpine Linux 3.24 | qemu | Fixed | 8.0.2-r1 | ALPINE-CVE-2023-2861 |
| Alpine Linux 3.23 | qemu | Fixed | 8.0.2-r1 | ALPINE-CVE-2023-2861 |
| Alpine Linux 3.22 | qemu | Fixed | 8.0.2-r1 | ALPINE-CVE-2023-2861 |
| Alpine Linux 3.21 | qemu | Fixed | 8.0.2-r1 | ALPINE-CVE-2023-2861 |
| Alpine Linux 3.20 | qemu | Fixed | 8.0.2-r1 | ALPINE-CVE-2023-2861 |
| Alpine Linux 3.19 | qemu | Fixed | 8.0.2-r1 | ALPINE-CVE-2023-2861 |
| Alpine Linux 3.18 | qemu | Fixed | 8.0.2-r1 | ALPINE-CVE-2023-2861 |
What the vendor says
As published in the CVE record by fedora, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- qemu
References
- https://access.redhat.com/security/cve/CVE-2023-2861
- https://bugzilla.redhat.com/show_bug.cgi?id=2219266
- https://lists.debian.org/debian-lts-announce/2024/03/msg00012.html
- https://security.netapp.com/advisory/ntap-20240125-0005/
- https://security.netapp.com/advisory/ntap-20240229-0002/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.