Skip to content
OpenAdvisories
Medium · 5.5 CVE-2023-2700 EUVD-2023-34164GHSA-v972-h57q-v8pw

A vulnerability was found in libvirt. This security flaw ouccers due to repeatedly querying an SR-IOV PCI device's capabilities that expose…

Published May 15, 2023 · Updated Jan 28, 2025 · Assigned by redhat

Description

A vulnerability was found in libvirt. This security flaw ouccers due to repeatedly querying an SR-IOV PCI device's capabilities that exposes a memory leak caused by a failure to free the virPCIVirtualFunction array within the parent struct's g_autoptr cleanup.

Affected products

VendorProductAffectedFixed
— libvirt libvirt-4.5.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libvirt 9.0.0-4 —
Debian 13 libvirt 9.0.0-4 —
Debian 12 libvirt 9.0.0-4 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libvirt 8.0.0-1ubuntu7.5 USN-6126-1
ReleasePackageFixed inAdvisory
RHEL 9 libvirt +25 9.0.0-10.2.el9_2 RHSA-2023:3715
RHEL 8 SLOF 20210217-1.module+el8.8.0+16781+9f4724c2 RHSA-2023:3822
RHEL 8 hivex +6 1.3.18-23.module+el8.8.0+16781+9f4724c2 RHSA-2023:3822
RHEL 8 libguestfs-winsupport 8.8-1.module+el8.8.0+16781+9f4724c2 RHSA-2023:3822
RHEL 8 libiscsi +2 1.18.0-8.module+el8.8.0+16781+9f4724c2 RHSA-2023:3822
RHEL 8 libnbd +6 1.6.0-5.module+el8.8.0+16781+9f4724c2 RHSA-2023:3822
RHEL 8 libtpms +1 0.9.1-2.20211126git1ff6fe1f43.module+el8.8.0+18453+1482ba89 RHSA-2023:3822
RHEL 8 libvirt +27 8.0.0-19.2.module+el8.8.0+18944+7f5acf75 RHSA-2023:3822
RHEL 8 libvirt-dbus 1.3.0-2.module+el8.8.0+16781+9f4724c2 RHSA-2023:3822
RHEL 8 libvirt-python +1 8.0.0-2.module+el8.8.0+16781+9f4724c2 RHSA-2023:3822
RHEL 8 nbdkit +18 1.24.0-5.module+el8.8.0+17308+05924798 RHSA-2023:3822
RHEL 8 netcf +2 0.2.8-12.module+el8.8.0+16781+9f4724c2 RHSA-2023:3822
RHEL 8 perl-Sys-Virt 8.0.0-1.module+el8.8.0+16781+9f4724c2 RHSA-2023:3822
RHEL 8 qemu-img +14 15:6.2.0-32.module+el8.8.0+18361+9f407f6e RHSA-2023:3822
RHEL 8 seabios +2 1.16.0-3.module+el8.8.0+16781+9f4724c2 RHSA-2023:3822
RHEL 8 sgabios +1 1:0.20170427git-3.module+el8.8.0+16781+9f4724c2 RHSA-2023:3822
RHEL 8 supermin +1 5.2.1-2.module+el8.8.0+16781+9f4724c2 RHSA-2023:3822
RHEL 8 swtpm +4 0.7.0-4.20211109gitb79fd91.module+el8.8.0+16781+9f4724c2 RHSA-2023:3822
RHEL 8 virt-dib +24 1:1.44.0-9.module+el8.8.0+16781+9f4724c2 RHSA-2023:3822
RHEL 8 virt-v2v +3 1:1.42.0-22.module+el8.8.0+19067+b66cdac6 RHSA-2023:3822
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.6 EUS SLOF 20210217-1.module+el8.6.0+14480+c0a3aa0f RHSA-2023:4799
RHEL 8.6 EUS hivex +6 1.3.18-23.module+el8.6.0+14480+c0a3aa0f RHSA-2023:4799
RHEL 8.6 EUS libguestfs-winsupport 8.6-1.module+el8.6.0+14480+c0a3aa0f RHSA-2023:4799
RHEL 8.6 EUS libiscsi +2 1.18.0-8.module+el8.6.0+14480+c0a3aa0f RHSA-2023:4799
RHEL 8.6 EUS libnbd +6 1.6.0-5.module+el8.6.0+14480+c0a3aa0f RHSA-2023:4799
RHEL 8.6 EUS libtpms +1 0.9.1-1.20211126git1ff6fe1f43.module+el8.6.0+18455+e5d5ac9d RHSA-2023:4799
RHEL 8.6 EUS libvirt +27 8.0.0-5.10.module+el8.6.0+18949+ba4ca8a3 RHSA-2023:4799
RHEL 8.6 EUS libvirt-dbus 1.3.0-2.module+el8.6.0+14480+c0a3aa0f RHSA-2023:4799
RHEL 8.6 EUS libvirt-python +1 8.0.0-1.1.module+el8.6.0+16381+3abc475c RHSA-2023:4799
RHEL 8.6 EUS nbdkit +18 1.24.0-4.module+el8.6.0+14480+c0a3aa0f RHSA-2023:4799
RHEL 8.6 EUS netcf +2 0.2.8-12.module+el8.6.0+14480+c0a3aa0f RHSA-2023:4799
RHEL 8.6 EUS perl-Sys-Virt 8.0.0-1.module+el8.6.0+14480+c0a3aa0f RHSA-2023:4799
RHEL 8.6 EUS qemu-img +14 15:6.2.0-11.module+el8.6.0+18167+43cf40f3.8 RHSA-2023:4799
RHEL 8.6 EUS seabios +2 1.15.0-2.module+el8.6.0+19580+39804e41.1 RHSA-2023:4799
RHEL 8.6 EUS sgabios +1 1:0.20170427git-3.module+el8.6.0+14480+c0a3aa0f RHSA-2023:4799
RHEL 8.6 EUS supermin +1 5.2.1-1.module+el8.6.0+14480+c0a3aa0f RHSA-2023:4799
RHEL 8.6 EUS swtpm +4 0.7.0-3.20211109gitb79fd91.module+el8.6.0+16156+d5629340 RHSA-2023:4799
RHEL 8.6 EUS virt-dib +24 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f RHSA-2023:4799
RHEL 8.6 EUS virt-v2v +3 1:1.42.0-19.module+el8.6.0+15577+2ffd6ffa RHSA-2023:4799

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libvirt +25 9.0.0-10.2.el9_2 ALSA-2023:3715
AlmaLinux 8 SLOF 20210217-1.module_el8.6.0+2880+7d9e3703 ALSA-2023:3822
AlmaLinux 8 hivex +6 1.3.18-23.module_el8.6.0+2880+7d9e3703 ALSA-2023:3822
AlmaLinux 8 libguestfs-winsupport 8.8-1.module_el8.8.0+3485+7cffc4a3 ALSA-2023:3822
AlmaLinux 8 libiscsi +2 1.18.0-8.module_el8.6.0+2880+7d9e3703 ALSA-2023:3822
AlmaLinux 8 libnbd +6 1.6.0-5.module_el8.6.0+2880+7d9e3703 ALSA-2023:3822
AlmaLinux 8 libtpms +1 0.9.1-2.20211126git1ff6fe1f43.module_el8.8.0+3553+bd08596b ALSA-2023:3822
AlmaLinux 8 libvirt +27 8.0.0-19.2.module_el8.8.0+3585+76b9c397.alma ALSA-2023:3822
AlmaLinux 8 libvirt-dbus 1.3.0-2.module_el8.6.0+2880+7d9e3703 ALSA-2023:3822
AlmaLinux 8 nbdkit +18 1.24.0-5.module_el8.8.0+3485+7cffc4a3 ALSA-2023:3822
AlmaLinux 8 netcf +2 0.2.8-12.module_el8.6.0+2880+7d9e3703 ALSA-2023:3822
AlmaLinux 8 perl-Sys-Virt 8.0.0-1.module_el8.6.0+2880+7d9e3703 ALSA-2023:3822
AlmaLinux 8 python3-libvirt 8.0.0-2.module_el8.7.0+3346+68867adb ALSA-2023:3822
AlmaLinux 8 qemu-img +14 15:6.2.0-32.module_el8.8.0+3553+bd08596b ALSA-2023:3822
AlmaLinux 8 seabios +2 1.16.0-3.module_el8.7.0+3346+68867adb ALSA-2023:3822
AlmaLinux 8 sgabios +1 1:0.20170427git-3.module_el8.6.0+2880+7d9e3703 ALSA-2023:3822
AlmaLinux 8 supermin +1 5.2.1-2.module_el8.7.0+3346+68867adb ALSA-2023:3822
AlmaLinux 8 swtpm +4 0.7.0-4.20211109gitb79fd91.module_el8.7.0+3346+68867adb ALSA-2023:3822
AlmaLinux 8 virt-dib +24 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma ALSA-2023:3822
AlmaLinux 8 virt-v2v +3 1:1.42.0-22.module_el8.8.0+3553+bd08596b ALSA-2023:3822

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 libvirt 9.0.0-10.2.el9_2 RLSA-2023:3715
Rocky Linux 8 hivex 1.3.18-23.module+el8.8.0+1279+230c2115 RLSA-2023:3822
Rocky Linux 8 libguestfs 1:1.44.0-9.module+el8.8.0+1279+230c2115.rocky RLSA-2023:3822
Rocky Linux 8 libguestfs-winsupport 8.8-1.module+el8.8.0+1279+230c2115 RLSA-2023:3822
Rocky Linux 8 libiscsi 1.18.0-8.module+el8.8.0+1279+230c2115 RLSA-2023:3822
Rocky Linux 8 libnbd 1.6.0-5.module+el8.8.0+1279+230c2115 RLSA-2023:3822
Rocky Linux 8 libtpms 0.9.1-2.20211126git1ff6fe1f43.module+el8.8.0+1279+230c2115 RLSA-2023:3822
Rocky Linux 8 libvirt 8.0.0-19.2.module+el8.8.0+1321+70d049b2 RLSA-2023:3822
Rocky Linux 8 libvirt-dbus 1.3.0-2.module+el8.8.0+1279+230c2115 RLSA-2023:3822
Rocky Linux 8 libvirt-python 8.0.0-2.module+el8.8.0+1279+230c2115 RLSA-2023:3822
Rocky Linux 8 nbdkit 1.24.0-5.module+el8.8.0+1279+230c2115 RLSA-2023:3822
Rocky Linux 8 netcf 0.2.8-12.module+el8.8.0+1279+230c2115 RLSA-2023:3822
Rocky Linux 8 perl-Sys-Virt 8.0.0-1.module+el8.8.0+1279+230c2115 RLSA-2023:3822
Rocky Linux 8 qemu-kvm 5:6.2.0-32.module+el8.8.0+1279+230c2115 RLSA-2023:3822
Rocky Linux 8 seabios 1.16.0-3.module+el8.8.0+1279+230c2115 RLSA-2023:3822
Rocky Linux 8 sgabios 1:0.20170427git-3.module+el8.8.0+1279+230c2115 RLSA-2023:3822
Rocky Linux 8 supermin 5.2.1-2.module+el8.8.0+1279+230c2115 RLSA-2023:3822
Rocky Linux 8 swtpm 0.7.0-4.20211109gitb79fd91.module+el8.8.0+1279+230c2115 RLSA-2023:3822
Rocky Linux 8 virt-v2v 1:1.42.0-22.module+el8.8.0+1279+230c2115 RLSA-2023:3822
ReleasePackageFixed inAdvisory
SLES 15 SP5 libvirt 9.0.0-150500.6.3.1 SUSE-SU-2023:2652-1
SLES 15 SP4 libvirt 8.0.0-150400.7.6.1 SUSE-SU-2023:2356-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 5.4 libvirt 8.0.0-150400.7.6.1 SUSE-SU-2023:2356-1
SLE Micro 5.3 libvirt 8.0.0-150400.7.6.1 SUSE-SU-2023:2356-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libvirt 10.9.0-3.1 openSUSE-SU-2024:14490-1
openSUSE Leap 15.5 libvirt 9.0.0-150500.6.3.1 SUSE-SU-2023:2652-1
openSUSE Leap 15.4 libvirt 8.0.0-150400.7.6.1 SUSE-SU-2023:2356-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 libvirt 8.0.0-150400.7.6.1 SUSE-SU-2023:2356-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libvirt 7.10.0-5 —
Azure Linux 2 (CBL-Mariner) libvirt 7.10.0-5 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libvirt +25 9.0.0-10.2.0.1.el9_2 ELSA-2023-3715
Oracle Linux 8 hivex +4 1.3.18-21.module+el8.9.0+90333+3bd482f4 ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855
Oracle Linux 8 libguestfs-appliance 1:1.44.0-5.0.1.module+el8.8.0+21161+70fb2747 ELSA-2023-12924, ELSA-2023-12855, ELSA-2023-3822
Oracle Linux 8 libguestfs-winsupport 8.2-1.module+el8.9.0+90333+3bd482f4 ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.8.0+20990+60c1530a ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855
Oracle Linux 8 libnbd +3 1.2.2-1.module+el8.9.0+90333+3bd482f4 ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855
Oracle Linux 8 libtpms +1 0.9.1-0.20211126git1ff6fe1f43.module+el8.8.0+21161+70fb2747 ELSA-2023-12924, ELSA-2023-12855, ELSA-2023-3822
Oracle Linux 8 libvirt +29 5.7.0-42.module+el8.9.0+90333+3bd482f4 ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855
Oracle Linux 8 libvirt-client-qemu 9.0.0-3.module+el8.8.0+21147+1292344f ELSA-2023-12855
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.8.0+20990+60c1530a ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855
Oracle Linux 8 libvirt-wireshark 7.10.0-3.module+el8.8.0+21161+70fb2747 ELSA-2023-12924, ELSA-2023-12855, ELSA-2023-3822
Oracle Linux 8 nbdkit +13 1.16.2-4.0.1.module+el8.9.0+90333+3bd482f4 ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855
Oracle Linux 8 nbdkit-nbd-plugin +4 1.24.0-4.module+el8.8.0+21147+1292344f ELSA-2023-12924, ELSA-2023-12855, ELSA-2023-3822
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.8.0+20990+60c1530a ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855
Oracle Linux 8 ocaml-hivex +1 1.3.18-23.module+el8.8.0+20990+60c1530a ELSA-2023-3822
Oracle Linux 8 ocaml-libguestfs +1 1:1.44.0-9.0.1.module+el8.8.0+20990+60c1530a ELSA-2023-3822
Oracle Linux 8 ocaml-libnbd +2 1.6.0-5.module+el8.8.0+20990+60c1530a ELSA-2023-12924, ELSA-2023-12855, ELSA-2023-3822
Oracle Linux 8 perl-Sys-Virt 4.5.0-5.module+el8.9.0+90333+3bd482f4 ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855
Oracle Linux 8 qemu-img +9 15:4.2.1-34.module+el8.9.0+90333+3bd482f4 ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855
Oracle Linux 8 qemu-kvm-docs +4 15:6.2.0-32.module+el8.8.0+21044+01700444 ELSA-2023-3822
Oracle Linux 8 qemu-virtiofsd 15:6.1.1-8.module+el8.8.0+21161+70fb2747 ELSA-2023-12924, ELSA-2023-12855
Oracle Linux 8 seabios +2 1.15.0-2.module+el8.8.0+21161+70fb2747 ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.8.0+20990+60c1530a ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855
Oracle Linux 8 supermin +1 5.1.19-10.module+el8.9.0+90333+3bd482f4 ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855
Oracle Linux 8 swtpm +4 0.7.0-3.20211109gitb79fd91.module+el8.8.0+21161+70fb2747 ELSA-2023-12924, ELSA-2023-12855, ELSA-2023-3822
Oracle Linux 8 virt-dib +23 1:1.40.2-28.0.4.module+el8.9.0+90333+3bd482f4 ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855
Oracle Linux 8 virt-v2v-man-pages-ja +2 1:1.42.0-19.0.1.module+el8.8.0+21161+70fb2747 ELSA-2023-12924, ELSA-2023-12855, ELSA-2023-3822

Advisories 18

References