CVE-2018-20124
published 2018-12-20CVE-2018-20124: hw/rdma/rdma_backend.c in QEMU allows guest OS users to trigger out-of-bounds access via a PvrdmaSqWqe ring element with a large num_sge value.
PriorityP421medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.49%
39.2th percentile
hw/rdma/rdma_backend.c in QEMU allows guest OS users to trigger out-of-bounds access via a PvrdmaSqWqe ring element with a large num_sge value.
Affected
13 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) |
| 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-rq7v-8fqq-9fwv: hw/rdma/rdma_backend
ghsa_unreviewed·2022-05-13
CVE-2018-20124 [MEDIUM] CWE-125 GHSA-rq7v-8fqq-9fwv: hw/rdma/rdma_backend
hw/rdma/rdma_backend.c in QEMU allows guest OS users to trigger out-of-bounds access via a PvrdmaSqWqe ring element with a large num_sge value.
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-20124: hw/rdma/rdma_backend
osv·2018-12-20·CVSS 5.5
CVE-2018-20124 [MEDIUM] CVE-2018-20124: hw/rdma/rdma_backend
hw/rdma/rdma_backend.c in QEMU allows guest OS users to trigger out-of-bounds access via a PvrdmaSqWqe ring element with a large num_sge value.
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: rdma: OOB access when building scatter-gather array
vendor_redhat·2018-12-11·CVSS 5.5
CVE-2018-20124 [MEDIUM] CWE-125 QEMU: rdma: OOB access when building scatter-gather array
QEMU: rdma: OOB access when building scatter-gather array
hw/rdma/rdma_backend.c in QEMU allows guest OS users to trigger out-of-bounds access via a PvrdmaSqWqe ring element with a large num_sge value.
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 Plat
Debian
CVE-2018-20124: qemu - hw/rdma/rdma_backend.c in QEMU allows guest OS users to trigger out-of-bounds ac...
vendor_debian·2018·CVSS 5.5
CVE-2018-20124 [MEDIUM] CVE-2018-20124: qemu - hw/rdma/rdma_backend.c in QEMU allows guest OS users to trigger out-of-bounds ac...
hw/rdma/rdma_backend.c in QEMU allows guest OS users to trigger out-of-bounds access via a PvrdmaSqWqe ring element with a large num_sge value.
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-20124 qemu: rdma: OOB access when building scatter-gather array [fedora-all]
bugzilla·2018-12-18·CVSS 5.5
CVE-2018-20124 [MEDIUM] CVE-2018-20124 qemu: rdma: OOB access when building scatter-gather array [fedora-all]
CVE-2018-20124 qemu: rdma: OOB access when building scatter-gather array [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
Bugzilla
CVE-2018-20124 QEMU: rdma: OOB access when building scatter-gather array
bugzilla·2018-12-18·CVSS 5.5
CVE-2018-20124 [MEDIUM] CVE-2018-20124 QEMU: rdma: OOB access when building scatter-gather array
CVE-2018-20124 QEMU: rdma: OOB access when building scatter-gather array
An out-of-bound stack buffer r/w access issue was found in QEMU's generic
RDMA back-end implementation. It could occur when a driver tries to build
scatter/gather element's array in build_host_sge_array() routine.
A guest user/process could use this flaw to crash the QEMU process
resulting in DoS.
Upstream patch:
-> https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg02822.html
Reference:
-> https://www.openwall.com/lists/oss-security/2018/12/18/2
Discussion:
Acknowledgments:
Name: Saar Amar
---
Created qemu tracking bugs for this issue:
Affects: fedora-all [bug 1660373]
http://www.openwall.com/lists/oss-security/2018/12/18/2http://www.securityfocus.com/bid/106290https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg02822.htmlhttps://usn.ubuntu.com/3923-1/http://www.openwall.com/lists/oss-security/2018/12/18/2http://www.securityfocus.com/bid/106290https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg02822.htmlhttps://usn.ubuntu.com/3923-1/
2018-12-20
Published