CVE-2023-1386
published low CVSS 3.1 · 3.3Qemu: 9pfs: suid/sgid bits not dropped on file write
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | qemu | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7, 9 | qemu-kvm | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 7 | qemu-kvm-ma | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 8 | virt:rhel/qemu-kvm | Unaffected | Not required | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat | — | virt:av/qemu-kvmRed Hat Enterprise Linux 8 Advanced Virtualization | Unaffected | Not required | redhat |
| Fedora | — | qemuFedora | Affected | Not stated | redhat |
| Fedora | — | qemuExtra Packages for Enterprise Linux | Unaffected | Not required | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.3 / 10
- Severity
- low
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | qemu | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 Advanced Virtualization | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
| Fedora | Fedora | Default: affected | redhat · cna |
| Fedora | Extra Packages for Enterprise Linux | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-281 Improper Preservation of Permissions
References
5- https://access.redhat.com/security/cve/CVE-2023-1386
- RHBZ#2223985 https://bugzilla.redhat.com/show_bug.cgi?id=2223985
- https://github.com/advisories/GHSA-ppj8-867g-rgjr
- https://github.com/v9fs/linux/issues/29
- https://security.netapp.com/advisory/ntap-20230831-0005/
Provider assertions
3redhat · cna
Qemu: 9pfs: suid/sgid bits not dropped on file write
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b148256e3ed8edcdd81a33335ab2d6533b764ee1ece3ce701d26f3cf0082b4b7
- Ingested
- 23 Sep 2026, 08:05:26 UTC
- Source record
- Official CVE record