Description (CNA)
nanoMODBUS through v1.23.0 contains an off-by-one buffer overflow in the recv_msg_header function of the Modbus/TCP server that allows remote unauthenticated attackers to write one attacker-controlled byte past the end of the 260-byte receive buffer by sending a crafted MBAP frame whose Length field is set to 255.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| debevv / nanoMODBUS | affected 0 through 1.23.0 |
CWE
CWE-193, CWE-787
References
- https://github.com/debevv/nanoMODBUS
- https://github.com/debevv/nanoMODBUS/blob/v1.23.0/nanomodbus.c#L369
- https://cwe.mitre.org/data/definitions/193.html
- https://cwe.mitre.org/data/definitions/787.html
ADP enrichment
No English description supplied.
No references supplied.