First published: Mon Jun 24 2019(Updated: )
An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Cesanta Mongoose | <6.15 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2019-12951 is a vulnerability in Mongoose that allows for a critical heap-based buffer overflow.
CVE-2019-12951 has a severity rating of 9.8 (Critical).
To fix CVE-2019-12951, update Mongoose to version 6.15 or later.
CVE-2019-12951 is associated with two CWE IDs: CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) and CWE-787 (Out-of-bounds Write).
You can find more information about CVE-2019-12951 on the GitHub page of Mongoose: [https://github.com/cesanta/mongoose/commit/b3e0f780c34cea88f057a62213c012aa88fe2deb](https://github.com/cesanta/mongoose/commit/b3e0f780c34cea88f057a62213c012aa88fe2deb) and [https://github.com/cesanta/mongoose/releases/tag/6.15](https://github.com/cesanta/mongoose/releases/tag/6.15)