Libvirt: local privilege escalation via nested ext uri
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | affected | — |
| Red Hat | Red Hat Enterprise Linux 6 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 7 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 8 | affected | — |
| Red Hat | Red Hat Enterprise Linux 9 | affected | — |
No data.
No data.
No data available yet.
Vendor Workaround
To mitigate this issue, restrict access to libvirt read-only Unix sockets so that only trusted accounts can connect to them. On systems using the monolithic libvirtd, restrict the read-only socket by setting unix_sock_ro_perms = "0700" in /etc/libvirt/libvirtd.conf and restarting the service. On systems using modular daemons (RHEL 9 and later), each daemon (virtqemud, virtstoraged, virtnetworkd, etc.) exposes its own read-only socket under /run/libvirt/. Restrict access to all *-sock-ro sockets by applying appropriate filesystem permissions or by overriding the systemd socket unit configurations. Warning: restricting read-only socket permissions will prevent unprivileged users and monitoring tools from querying libvirt status. Restarting libvirt daemons will temporarily interrupt management connections.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in libvirt. An unprivileged local user with access to a read-only socket can execute arbitrary commands by submitting a crafted nested Uniform Resource Identifier (URI). Because the privileged daemon executes external helper binaries during connection setup prior to applying read-only access restrictions, an attacker can exploit this issue to achieve local privilege escalation. | |
| Title | Libvirt: local privilege escalation via nested ext uri | |
| First Time appeared |
Redhat
Redhat enterprise Linux Redhat rhel Els |
|
| Weaknesses | CWE-862 | |
| CPEs | cpe:/o:redhat:enterprise_linux:10 cpe:/o:redhat:enterprise_linux:8 cpe:/o:redhat:enterprise_linux:9 cpe:/o:redhat:rhel_els:6 cpe:/o:redhat:rhel_els:7 |
|
| Vendors & Products |
Redhat
Redhat enterprise Linux Redhat rhel Els |
|
| References |
| |
| Metrics |
cvssV3_1
|