First published: Fri Dec 31 2021(Updated: )
wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow in MqttClient_DecodePacket (called from MqttClient_WaitType and MqttClient_Connect).
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
wolfSSL wolfMQTT | =1.9 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-45937 is a vulnerability in wolfSSL wolfMQTT 1.9 that allows a heap-based buffer overflow in MqttClient_DecodePacket.
CVE-2021-45937 has a severity rating of medium (5.5).
CVE-2021-45937 affects wolfSSL wolfMQTT version 1.9.
To fix CVE-2021-45937, update to a version of wolfSSL wolfMQTT that is not affected by the vulnerability.
More information about CVE-2021-45937 can be found in the references provided: [link 1](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39083), [link 2](https://github.com/google/oss-fuzz-vulns/blob/main/vulns/wolfmqtt/OSV-2021-1349.yaml), [link 3](https://github.com/wolfSSL/wolfMQTT/commit/84d4b53122e0fa0280c7872350b89d5777dabbb2).