First published: Tue Jul 26 2022(Updated: )
An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is NULL pointer dereference in mjs_bcode_commit() in mjs.c.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Cesanta MJS | <2.20.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-33440 is a vulnerability discovered in mjs (mJS: Restricted JavaScript engine) ES6 (JavaScript version 6) that allows for a NULL pointer dereference in mjs_bcode_commit() in mjs.c.
The severity of CVE-2021-33440 is medium with a severity value of 5.5.
Cesanta MJS versions up to and exclusive of 2.20.0 are affected by CVE-2021-33440.
To fix CVE-2021-33440, update to a version of Cesanta MJS that is later than 2.20.0.
You can find more information about CVE-2021-33440 on the GitHub issue page (https://github.com/cesanta/mjs/issues/163) and the GitHub Gist (https://gist.github.com/Clingto/bb632c0c463f4b2c97e4f65f751c5e6d).