Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-32845— Moby HyperKit uninitialized memory use vtrnd pci_vtrnd_notify

Quick assessment

Affected
moby hyperkit
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

HyperKit是Moby开源的一个用于在应用程序中嵌入虚拟机监控程序功能的工具包。 HyperKit 0.20210107及之前版本存在安全漏洞,该漏洞源于 中的 无法检查 的返回值,这导致 struct iovec iov未初始化并用于读取 中的内存,攻击者利用该漏洞可以使主机崩溃,导致拒绝服务。

CVSS 7.7 · High EPSS 0.25% · P15
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-32845

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Moby HyperKit uninitialized memory use vtrnd pci_vtrnd_notify
Source: CVE Program / CVE List V5
Vulnerability Description
HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107 and prior of HyperKit, the implementation of `qnotify` at `pci_vtrnd_notify` fails to check the return value of `vq_getchain`. This leads to `struct iovec iov;` being uninitialized and used to read memory in `len = (int) read(sc->vrsc_fd, iov.iov_base, iov.iov_len);` when an attacker is able to make `vq_getchain` fail. This issue may lead to a guest crashing the host causing a denial of service and, under certain circumstance, memory corruption. This issue is fixed in commit 41272a980197917df8e58ff90642d14dec8fe948.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对未经初始化资源的使用
Source: CVE Program / CVE List V5
Vulnerability Title
HyperKit 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
HyperKit是Moby开源的一个用于在应用程序中嵌入虚拟机监控程序功能的工具包。 HyperKit 0.20210107及之前版本存在安全漏洞,该漏洞源于`pci_vtrnd_notify` 中的 `qnotify` 无法检查 `vq_getchain` 的返回值,这导致 struct iovec iov未初始化并用于读取 `len = (int) read(sc->vrsc_fd, iov.iov_base, iov.iov_len);` 中的内存,攻击者利用该漏洞可以使主机崩溃,导致拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
moby hyperkit 0.20210107 ~ 0.20210107 -

II. Public POCs for CVE-2021-32845

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-32845

请登录查看更多情报信息。

Patches & Fixes for CVE-2021-32845 (2)

Other References for CVE-2021-32845 (1)

Same Patch Batch · moby · 2023-02-17 · 4 CVEs total

CVE-2021-32846 7.7 HIGH Moby HyperKit uninitialized memory use in virtio-sock pci_vtsock_proc_tx
CVE-2021-32843 6.2 MEDIUM HyperKit 代码问题漏洞
CVE-2021-32844 6.2 MEDIUM HyperKit 代码问题漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2021-32845

No comments yet


Leave a comment