#VU76721 Memory leak in libvirt


Published: 2023-05-31

Vulnerability identifier: #VU76721

Vulnerability risk: Low

CVSSv3.1: 4.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-2700

CWE-ID: CWE-401

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
libvirt
Universal components / Libraries / Libraries used by multiple products

Vendor: libvirt.org

Description
The vulnerability allows a local user to perform DoS attack on the target system.

The vulnerability exists due memory leak within the virPCIVirtualFunction array within the parent struct's g_autoptr cleanup. A local user can repeatedly query an SR-IOV PCI device's capabilities to cause memory leak and perform denial of service attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

libvirt: 4.5.0 - 9.2.0


External links
http://bugzilla.redhat.com/show_bug.cgi?id=2203653
http://gitlab.com/libvirt/libvirt/-/commit/6425a311b8ad19d6f9c0b315bf1d722551ea3585#874a1e768ade6ceb4538931cbc06248e73223306
http://access.redhat.com/security/cve/CVE-2023-2700


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability