CVE-2018-20126
published 2018-12-20CVE-2018-20126: hw/rdma/vmw/pvrdma_cmd.c in QEMU allows create_cq and create_qp memory leaks because errors are mishandled.
PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.49%
39.3th percentile
hw/rdma/vmw/pvrdma_cmd.c in QEMU allows create_cq and create_qp memory leaks because errors are mishandled.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | qemu | < qemu 1:4.1-1 (bookworm) | qemu 1:4.1-1 (bookworm) |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
| qemu | qemu | <= 3.1.0 | — |
| qemu | qemu | >= 0 < 1:4.1-1 | 1:4.1-1 |
| qemu | qemu | >= 0 < 1:4.1-1 | 1:4.1-1 |
| qemu | qemu | >= 0 < 1:4.1-1 | 1:4.1-1 |
| qemu | qemu | >= 0 < 1:4.1-1 | 1:4.1-1 |
| qemu | qemu | >= 0 < 2.0.0+dfsg-2ubuntu1.45 | 2.0.0+dfsg-2ubuntu1.45 |
| qemu | qemu | >= 0 < 1:2.5+dfsg-5ubuntu10.36 | 1:2.5+dfsg-5ubuntu10.36 |
| qemu | qemu | >= 0 < 1:2.11+dfsg-1ubuntu7.12 | 1:2.11+dfsg-1ubuntu7.12 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:N/I:N/A:P
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian5.5LOW
vendor_redhat5.5MEDIUM
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.
GHSA
GHSA-23f5-q32q-xcxm: hw/rdma/vmw/pvrdma_cmd
ghsa_unreviewed·2022-05-13
CVE-2018-20126 [MEDIUM] CWE-772 GHSA-23f5-q32q-xcxm: hw/rdma/vmw/pvrdma_cmd
hw/rdma/vmw/pvrdma_cmd.c in QEMU allows create_cq and create_qp memory leaks because errors are mishandled.
OSV
qemu vulnerabilities
osv·2019-03-27·CVSS 7.8
CVE-2018-16867 [HIGH] qemu vulnerabilities
qemu vulnerabilities
Michael Hanselmann discovered that QEMU incorrectly handled the Media
Transfer Protocol (MTP). An attacker inside the guest could use this issue
to read or write arbitrary files and cause a denial of service, or possibly
execute arbitrary code. This issue only affected Ubuntu 18.10.
(CVE-2018-16867)
Michael Hanselmann discovered that QEMU incorrectly handled the Media
Transfer Protocol (MTP). An attacker inside the guest could use this issue
to read arbitrary files, contrary to expectations. This issue only affected
Ubuntu 18.04 LTS and Ubuntu 18.10. (CVE-2018-16872)
Zhibin Hu discovered that QEMU incorrectly handled the Plan 9 File System
support. An attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service. (CVE-2018-1
OSV
CVE-2018-20126: hw/rdma/vmw/pvrdma_cmd
osv·2018-12-20·CVSS 5.5
CVE-2018-20126 [MEDIUM] CVE-2018-20126: hw/rdma/vmw/pvrdma_cmd
hw/rdma/vmw/pvrdma_cmd.c in QEMU allows create_cq and create_qp memory leaks because errors are mishandled.
Ubuntu
QEMU vulnerabilities
vendor_ubuntu·2019-03-27·CVSS 7.8
CVE-2018-16867 [HIGH] QEMU vulnerabilities
Title: QEMU vulnerabilities
Summary: Several security issues were fixed in QEMU.
Michael Hanselmann discovered that QEMU incorrectly handled the Media
Transfer Protocol (MTP). An attacker inside the guest could use this issue
to read or write arbitrary files and cause a denial of service, or possibly
execute arbitrary code. This issue only affected Ubuntu 18.10.
(CVE-2018-16867)
Michael Hanselmann discovered that QEMU incorrectly handled the Media
Transfer Protocol (MTP). An attacker inside the guest could use this issue
to read arbitrary files, contrary to expectations. This issue only affected
Ubuntu 18.04 LTS and Ubuntu 18.10. (CVE-2018-16872)
Zhibin Hu discovered that QEMU incorrectly handled the Plan 9 File System
support. An attacker inside the guest could use this issue to cause
Red Hat
QEMU: pvrdma: memory leakage when creating cq/qp
vendor_redhat·2018-12-11·CVSS 5.5
CVE-2018-20126 [MEDIUM] CWE-772 QEMU: pvrdma: memory leakage when creating cq/qp
QEMU: pvrdma: memory leakage when creating cq/qp
hw/rdma/vmw/pvrdma_cmd.c in QEMU allows create_cq and create_qp memory leaks because errors are mishandled.
Package: kvm (Red Hat Enterprise Linux 5) - Not affected
Package: xen (Red Hat Enterprise Linux 5) - Not affected
Package: qemu-kvm (Red Hat Enterprise Linux 6) - Not affected
Package: qemu-kvm (Red Hat Enterprise Linux 7) - Not affected
Package: qemu-kvm-ma (Red Hat Enterprise Linux 7) - Not affected
Package: qemu-kvm-rhev (Red Hat Enterprise Linux 7) - Not affected
Package: qemu-kvm-rhev (Red Hat Enterprise Linux OpenStack Platform 7 (Kilo)) - Not affected
Package: qemu-kvm-rhev (Red Hat OpenStack Platform 10 (Newton)) - Not affected
Package: qemu-kvm-rhev (Red Hat OpenStack Platform 12 (Pike)) - Not affected
Package: qemu
Debian
CVE-2018-20126: qemu - hw/rdma/vmw/pvrdma_cmd.c in QEMU allows create_cq and create_qp memory leaks bec...
vendor_debian·2018·CVSS 5.5
CVE-2018-20126 [MEDIUM] CVE-2018-20126: qemu - hw/rdma/vmw/pvrdma_cmd.c in QEMU allows create_cq and create_qp memory leaks bec...
hw/rdma/vmw/pvrdma_cmd.c in QEMU allows create_cq and create_qp memory leaks because errors are mishandled.
Scope: local
bookworm: resolved (fixed in 1:4.1-1)
bullseye: resolved (fixed in 1:4.1-1)
forky: resolved (fixed in 1:4.1-1)
sid: resolved (fixed in 1:4.1-1)
trixie: resolved (fixed in 1:4.1-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-20126 QEMU: pvrdma: memory leakage when creating cq/qp
bugzilla·2018-12-19·CVSS 5.5
CVE-2018-20126 [MEDIUM] CVE-2018-20126 QEMU: pvrdma: memory leakage when creating cq/qp
CVE-2018-20126 QEMU: pvrdma: memory leakage when creating cq/qp
A memory leakage issue was found in QEMU's implementation of
VMWare's paravirtual RDMA device. It could occur while creating CQ/QP
ring objects in create_cq/qp() routines, as it did not free ring objects'
memory in case of an error.
A guest user/process could use this flaw to leak host memory resulting in DoS.
Upstream patch:
-> https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg02824.html
Reference:
-> https://www.openwall.com/lists/oss-security/2018/12/19/4
Discussion:
Acknowledgments:
Name: Li Qiang
---
Created qemu tracking bugs for this issue:
Affects: fedora-all [bug 1660752]
Bugzilla
CVE-2018-20126 qemu: pvrdma: memory leakage when creating cq/qp [fedora-all]
bugzilla·2018-12-19·CVSS 5.5
CVE-2018-20126 [MEDIUM] CVE-2018-20126 qemu: pvrdma: memory leakage when creating cq/qp [fedora-all]
CVE-2018-20126 qemu: pvrdma: memory leakage when creating cq/qp [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.
NOTE: this issue affects multiple supported versions
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00034.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-11/msg00038.htmlhttp://www.openwall.com/lists/oss-security/2018/12/19/4http://www.securityfocus.com/bid/106298https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg02824.htmlhttps://usn.ubuntu.com/3923-1/http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00034.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-11/msg00038.htmlhttp://www.openwall.com/lists/oss-security/2018/12/19/4http://www.securityfocus.com/bid/106298https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg02824.htmlhttps://usn.ubuntu.com/3923-1/
2018-12-20
Published