CVE-2020-24718
What it is
bhyve, as used in FreeBSD through 12.1 and illumos (e.g., OmniOS CE through r151034 and OpenIndiana through Hipster 2020.04), does not properly restrict VMCS and VMCB read/write operations, as demonstrated by a root user in a container on an Intel system, who can gain privileges by modifying VMCS_HOST_RIP.
At a glance
- Exploitability
- Can be exploited locally on the machine with an admin-level account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.6% in the next 30 days (EPSS).
- Severity: 8.2 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.6% · EPSS, next 30 days
- Weakness
- CWE-862 · Missing authorization
- Record status
- Modified
Affected
- Freebsd ≤ 11.2
- Freebsd 11.3
- Freebsd 11.4
- Freebsd 12.0
- Freebsd 12.1
- Omniosce Omnios ≤ r151034
- Openindiana ≤ hipster_2020.04
- Netapp Clustered Data Ontap
Attack profile CVSS 3.1 · 8.2
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2020-24718.md and follow it. Check whether this project is affected by CVE-2020-24718. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://security.FreeBSD.org/advisories/FreeBSD-SA-20:28.bhyve_vmcs.asc
- https://security.FreeBSD.org/advisories/FreeBSD-SA-20:28.bhyve_vmcs.asc
References
- https://github.com/illumos/illumos-gate/blob/84971882a96ac0fecd538b02208054a872ff8af3/usr/src/uts/i86pc/io/vmm/intel/vmcs.c#L246-L249
- https://security.FreeBSD.org/advisories/FreeBSD-SA-20:28.bhyve_vmcs.asc
- https://security.netapp.com/advisory/ntap-20201016-0002/
- https://github.com/illumos/illumos-gate/blob/84971882a96ac0fecd538b02208054a872ff8af3/usr/src/uts/i86pc/io/vmm/intel/vmcs.c#L246-L249
- https://security.FreeBSD.org/advisories/FreeBSD-SA-20:28.bhyve_vmcs.asc
- https://security.netapp.com/advisory/ntap-20201016-0002/