Submeter #1075418: Thomas Hergenhahn libnodave <=0.8.5 Out-of-Bounds Readinformação

TítuloThomas Hergenhahn libnodave <=0.8.5 Out-of-Bounds Read
Descriçãolibnodave is affected by an out-of-bounds read while handling an S7 response PDU. _daveSetupReceivedPDU in nodave.c computes p->plen and p->dlen from the response header (up to 65535 each) and sets p->data = p->param + p->plen with no check against the actual received length, so p->data can point far past the fixed 2048-byte msgIn buffer. The result-evaluation routines _daveTestResultData and _daveTestWriteResult then read p->data[...] out of bounds. A malicious or compromised S7 PLC (or a MITM) that returns a crafted response to a libnodave client triggers a remote, unauthenticated out-of-bounds read: denial of service and potential information disclosure. This issue is distinct from the _daveReadISOPacket buffer overflow. Fix: validate hlen+plen+dlen against the received length (dc->AnswLen) before use.
Fonte⚠️ https://sourceforge.net/p/libnodave/bugs/23/
Utilizador
 GyuHyunJeon (UID 102740)
Submissão05/11/2026 04h07 (há 24 dias)
Moderação28/11/2026 22h15 (24 days later)
EstadoAceite
Entrada VulDB445134 [lettoz libnodave até 0.8.5 S7 Response PDU nodave.c _daveSetupReceivedPDU Divulgação de Informação]
Pontos20

Might our Artificial Intelligence support you?

Check our Alexa App!