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