CVE-2022-23087
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe e1000 network adapters permit a variety of modifications to an Ethernet packet when it is being transmitted. These include the insertion of IP and TCP checksums, insertion of an Ethernet VLAN header, and TCP segmentation offload ("TSO"). The e1000 device model uses an on-stack buffer to generate the modified packet header when simulating these modifications on transmitted packets. When checksum offload is requested for a transmitted packet, the e1000 device model used a guest-provided value to specify the checksum offset in the on-stack buffer. The offset was not validated for certain packet types. A misbehaving bhyve guest could overwrite memory in the bhyve process on the host, possibly leading to code execution in the host context. The bhyve process runs in a Capsicum sandbox, which (depending on the FreeBSD version and bhyve configuration) limits the impact of exploiting this issue.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA memory corruption vulnerability exists in the e1000 network adapter emulation within bhyve. When checksum offload is requested, the guest can provide an unvalidated offset value that allows writing beyond the bounds of an on-stack buffer, enabling a malicious VM to corrupt host memory and potentially achieve code execution in the bhyve process context.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 12.0, < 12.3= 12.3= 13.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check FreeBSD host versionRun 'freebsd-version' or 'uname -r' and compare the output against the affected ranges: >= 12.0, < 12.3; = 12.3; = 13.0Affected if The version matches any of the listed affected versions (12.0 through 12.2, exactly 12.3, or exactly 13.0)
-
Verify bhyve is installedRun 'which bhyve' or check if bhyve binaries exist in /usr/sbin/bhyveAffected if bhyve is installed on the system
-
Identify running VMs using e1000 NIC emulationFor each running VM, examine the bhyve command line or VM configuration files (typically in /vm or /etc/bhyve) and look for '-s' slot definitions containing 'e1000'Affected if Any VM is configured with an e1000 network adapter (e.g., 'e1000:0'=tap0')
-
Confirm checksum offload processingReview VM network configuration; checksum offload is typically enabled by default in guest operating systems and processed by the bhyve e1000 emulation when the VM requests itAffected if The guest VM has checksum offload enabled (default behavior for most guest OSes) and uses an e1000 adapter
A system is affected if it runs bhyve with any e1000 network adapter on FreeBSD versions 12.0-12.2, 12.3, or 13.0, as the unvalidated checksum offset vulnerability exists in the e1000 emulation for these versions.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped12.3
Apply any available bhyve patches that add validation for guest-provided checksum offsets; ensure Capsicum sandbox is enabled; consider network isolation for untrusted VMs.
FreeBSD 12.4-RELEASE or FreeBSD 13.1-RELEASE (depending on major version)
- Check current FreeBSD version with: uname -a or freebsd-version -u
- For FreeBSD 12.x systems: Upgrade to FreeBSD 12.4-RELEASE or later (13.0 and 12.3 are affected; 12.4+ contains the fix)
- For FreeBSD 13.x systems: Upgrade to FreeBSD 13.1-RELEASE or later (13.0 is affected; 13.1+ contains the fix)
- Follow FreeBSD upgrade procedure: https://www.freebsd.org/releases/13.1R/installation/
- After upgrade, verify bhyve version includes the fix by checking the e1000 emulator code or referring to FreeBSD security advisory
- Test that bhyve VMs with e1000 network adapters function correctly post-upgrade
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing8.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,896.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-23087 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2022-23087 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data