Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:30007
HistoryApr 16, 2021 - 9:59 p.m.

Denial Of Service (DoS)

2021-04-1621:59:43
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
8
nanopb
vulnerability
denial of service
decoding
message
data
untrusted

EPSS

0.002

Percentile

53.5%

Nanopb is vulnerable to denial of service. Decoding a specifically formed message can cause invalid free() or realloc() calls if the message type contains an oneof field, and the oneof directly contains both a pointer field and a non-pointer field. If the message data first contains the non-pointer field and then the pointer field, the data of the non-pointer field is incorrectly treated as if it was a pointer value. Such message data rarely occurs in normal messages, but it is a concern when untrusted data is parsed.