Description
MOOS core-moos through 10.4.0 contains a buffer overflow vulnerability in CMOOSSerialPort::GetTelegram() that writes a NUL terminator one byte past the serial telegram stack buffer. Attackers controlling the serial line can send a full-length telegram to trigger the off-by-one write, corrupting the stack and potentially enabling code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| themoos | core-moos | ≤ 10.4.0 | — |
References
- Pull Request #73 issue-tracking patch
- Proposed fix commit (pull request not merged) patch
- https://github.com/themoos/core-moos product
- MOOSSerialPort.cpp (verified sink) technical-description
- VulnCheck Advisory: MOOS core-moos through 10.4.0 Off-by-One Buffer Overflow in Serial Telegram Handling third-party-advisory