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_Unsubscribe).
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.
The severity of CVE-2021-45938 is medium with a severity value of 5.5.
The affected software for CVE-2021-45938 is wolfSSL wolfMQTT 1.9.
CVE-2021-45938 is a heap-based buffer overflow in MqttClient_DecodePacket in wolfSSL wolfMQTT 1.9.
To fix CVE-2021-45938, update to a version of wolfSSL wolfMQTT that has the patch for the vulnerability applied.
More information about CVE-2021-45938 can be found at the following references: [Link 1](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39056), [Link 2](https://github.com/google/oss-fuzz-vulns/blob/main/vulns/wolfmqtt/OSV-2021-1353.yaml), [Link 3](https://github.com/wolfSSL/wolfMQTT/commit/84d4b53122e0fa0280c7872350b89d5777dabbb2).