CVE-2013-2218 Use after free in n/a

Medium 5.0 Published Updated

Remote attackers can crash the libvirtd daemon via a double free vulnerability in interface listing, causing denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2013-2218?

CVE-2013-2218 is a medium-severity use after free vulnerability in Redhat Libvirt, published on 30 Sep 2013. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Double free vulnerability in the virConnectListAllInterfaces method in interface/interface_backend_netcf.c in libvirt 1.0.6 allows remote attackers to cause a denial of service (libvirtd crash) via a filtering flag that causes an interface to be skipped, as demonstrated by the "virsh iface-list --inactive" command.

Weakness: CWE-399

Which versions are affected by CVE-2013-2218?

It affects 1 product.

Products include Redhat Libvirt.

How do I fix CVE-2013-2218?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2013-2218 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-2218 exists.

Public exploit code: 1 Exploit-DB entry.

All Redhat Libvirt vulnerabilities

Sources

Also known as CVE-2013-2229, DEBIAN-CVE-2013-2218, GHSA-2rgg-xfp9-8w6f.

Is CVE-2013-2218 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free