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