CVE-2019-3840
published 2019-03-27CVE-2019-3840: A NULL pointer dereference flaw was discovered in libvirt before version 5.0.0 in the way it gets interface information through the QEMU agent. An attacker in…
PriorityP429medium6.3CVSS 3.0
AVNACHPRLUINSCCNINAH
EPSS
1.51%
71.6th percentile
A NULL pointer dereference flaw was discovered in libvirt before version 5.0.0 in the way it gets interface information through the QEMU agent. An attacker in a guest VM can use this flaw to crash libvirtd and cause a denial of service.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libvirt | < libvirt 5.0.0-1 (bookworm) | libvirt 5.0.0-1 (bookworm) |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
| redhat | libvirt | < 5.0.0 | 5.0.0 |
| redhat | libvirt | >= 0 < 5.0.0-1 | 5.0.0-1 |
| redhat | libvirt | >= 0 < 5.0.0-1 | 5.0.0-1 |
| redhat | libvirt | >= 0 < 5.0.0-1 | 5.0.0-1 |
| redhat | libvirt | >= 0 < 5.0.0-1 | 5.0.0-1 |
| the_libvirt_project | libvirt | — | — |
CVSS provenance
nvdv3.06.3MEDIUMCVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H
nvdv2.03.5LOWAV:N/AC:M/Au:S/C:N/I:N/A:P
osv6.3MEDIUM
vendor_debian5.8MEDIUM
vendor_redhat5.8MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
libvirt vulnerability
vendor_ubuntu·2019-03-14
CVE-2019-3840 libvirt vulnerability
Title: libvirt vulnerability
Summary: libvirt could be made to crash under certain conditions.
It was discovered that libvirt incorrectly handled waiting for certain
agent events. An attacker inside a guest could possibly use this issue to
cause libvirtd to stop responding, resulting in a denial of service.
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
Red Hat
libvirt: NULL pointer dereference after running qemuAgentCommand in qemuAgentGetInterfaces function
vendor_redhat·2019-01-10·CVSS 5.8
CVE-2019-3840 [MEDIUM] CWE-476 libvirt: NULL pointer dereference after running qemuAgentCommand in qemuAgentGetInterfaces function
libvirt: NULL pointer dereference after running qemuAgentCommand in qemuAgentGetInterfaces function
A NULL pointer dereference flaw was discovered in libvirt before version 5.0.0 in the way it gets interface information through the QEMU agent. An attacker in a guest VM can use this flaw to crash libvirtd and cause a denial of service.
A NULL pointer dereference flaw was discovered in libvirt in the way it gets interface information through the QEMU agent. An attacker in a guest VM can use this flaw to crash libvirtd and cause a denial of service.
Package: libvirt (Red Hat Enterprise Linux 5) - Not affected
Package: libvirt (Red Hat Enterprise Linux 6) - Not affected
Package: libvirt (Red Hat Enterprise Linux 8) - Not affected
Package: libvirt (Red Hat Storage 3) - Not affected
Debian
CVE-2019-3840: libvirt - A NULL pointer dereference flaw was discovered in libvirt before version 5.0.0 i...
vendor_debian·2019·CVSS 5.8
CVE-2019-3840 [MEDIUM] CVE-2019-3840: libvirt - A NULL pointer dereference flaw was discovered in libvirt before version 5.0.0 i...
A NULL pointer dereference flaw was discovered in libvirt before version 5.0.0 in the way it gets interface information through the QEMU agent. An attacker in a guest VM can use this flaw to crash libvirtd and cause a denial of service.
Scope: local
bookworm: resolved (fixed in 5.0.0-1)
bullseye: resolved (fixed in 5.0.0-1)
forky: resolved (fixed in 5.0.0-1)
sid: resolved (fixed in 5.0.0-1)
trixie: resolved (fixed in 5.0.0-1)
GHSA
GHSA-rx4m-pcxc-jchp: A NULL pointer dereference flaw was discovered in libvirt before version 5
ghsa_unreviewed·2022-05-14
CVE-2019-3840 [MEDIUM] CWE-476 GHSA-rx4m-pcxc-jchp: A NULL pointer dereference flaw was discovered in libvirt before version 5
A NULL pointer dereference flaw was discovered in libvirt before version 5.0.0 in the way it gets interface information through the QEMU agent. An attacker in a guest VM can use this flaw to crash libvirtd and cause a denial of service.
OSV
CVE-2019-3840: A NULL pointer dereference flaw was discovered in libvirt before version 5
osv·2019-03-27·CVSS 6.3
CVE-2019-3840 [MEDIUM] CVE-2019-3840: A NULL pointer dereference flaw was discovered in libvirt before version 5
A NULL pointer dereference flaw was discovered in libvirt before version 5.0.0 in the way it gets interface information through the QEMU agent. An attacker in a guest VM can use this flaw to crash libvirtd and cause a denial of service.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-3840 libvirt: NULL pointer dereference after running qemuAgentCommand in qemuAgentGetInterfaces function [fedora-all]
bugzilla·2019-01-10·CVSS 5.8
CVE-2019-3840 [MEDIUM] CVE-2019-3840 libvirt: NULL pointer dereference after running qemuAgentCommand in qemuAgentGetInterfaces function [fedora-all]
CVE-2019-3840 libvirt: NULL pointer dereference after running qemuAgentCommand in qemuAgentGetInterfaces function [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOT
Bugzilla
CVE-2019-3840 mingw-libvirt: libvirt: NULL pointer dereference after running qemuAgentCommand in qemuAgentGetInterfaces function [fedora-all]
bugzilla·2019-01-10·CVSS 5.8
CVE-2019-3840 [MEDIUM] CVE-2019-3840 mingw-libvirt: libvirt: NULL pointer dereference after running qemuAgentCommand in qemuAgentGetInterfaces function [fedora-all]
CVE-2019-3840 mingw-libvirt: libvirt: NULL pointer dereference after running qemuAgentCommand in qemuAgentGetInterfaces function [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commi
Bugzilla
CVE-2019-3840 libvirt: NULL pointer dereference after running qemuAgentCommand in qemuAgentGetInterfaces function
bugzilla·2019-01-10·CVSS 5.8
CVE-2019-3840 [MEDIUM] CVE-2019-3840 libvirt: NULL pointer dereference after running qemuAgentCommand in qemuAgentGetInterfaces function
CVE-2019-3840 libvirt: NULL pointer dereference after running qemuAgentCommand in qemuAgentGetInterfaces function
A flaw was found in libvirtd. A null pointer in virJSONValueObjectHasKey function in util/virjson.c triggers a crash, resulting in remote denial of service via guest agent.
References:
https://bugzilla.redhat.com/show_bug.cgi?id=1663051
Upstream patch:
https://www.redhat.com/archives/libvir-list/2019-January/msg00241.html
Discussion:
Created libvirt tracking bugs for this issue:
Affects: fedora-all [bug 1665229]
Created mingw-libvirt tracking bugs for this issue:
Affects: fedora-all [bug 1665230]
---
The NULL pointer dereference is caused by the execution of qemuAgentGetInterfaces() in qemu/qemu_agent.c. A "guest-network-get-interfaces" command is sent to the guest
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00101.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-04/msg00105.htmlhttps://access.redhat.com/errata/RHSA-2019:2294https://bugzilla.redhat.com/show_bug.cgi?id=1663051https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3840https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TZRP2BRMI4RYFRPNFTTIAAUOGVN2ORP7/https://www.redhat.com/archives/libvir-list/2019-January/msg00241.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-04/msg00101.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-04/msg00105.htmlhttps://access.redhat.com/errata/RHSA-2019:2294https://bugzilla.redhat.com/show_bug.cgi?id=1663051https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3840https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TZRP2BRMI4RYFRPNFTTIAAUOGVN2ORP7/https://www.redhat.com/archives/libvir-list/2019-January/msg00241.html
2019-03-27
Published