wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow (8 bytes) in MqttDecodePublish (called from MqttClientDecodePacket and MqttClient_HandlePacket).
[
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"280277640168772996348933106240497287098",
"120079499844175725862248008020683433689",
"47346730709629407828913387344300580063",
"79204163782737757014109719066411078623",
"120803118586187991233588399328252326413"
],
"threshold": 0.9
},
"target": {
"file": "src/mqtt_client.c"
},
"source": "https://github.com/wolfssl/wolfmqtt/commit/84d4b53122e0fa0280c7872350b89d5777dabbb2",
"signature_type": "Line",
"id": "CVE-2021-45933-3c4f0149"
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "329802369575170683440296892229791015484",
"length": 3755.0
},
"target": {
"function": "MqttClient_WaitType",
"file": "src/mqtt_client.c"
},
"source": "https://github.com/wolfssl/wolfmqtt/commit/84d4b53122e0fa0280c7872350b89d5777dabbb2",
"signature_type": "Function",
"id": "CVE-2021-45933-7e8fea99"
}
]