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 getprop_builtin_foreign() 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-33444 is a vulnerability in the mjs (mJS) JavaScript engine that allows for a NULL pointer dereference in the getprop_builtin_foreign() function.
The severity of CVE-2021-33444 is medium with a CVSS score of 5.5.
Cesanta MJS version up to and excluding 2.20.0 is affected by CVE-2021-33444.
To fix CVE-2021-33444, you should update to a version of Cesanta MJS that is equal to or newer than 2.20.0.
You can find more information about CVE-2021-33444 on the following links: [https://gist.github.com/Clingto/bb632c0c463f4b2c97e4f65f751c5e6d](https://gist.github.com/Clingto/bb632c0c463f4b2c97e4f65f751c5e6d) and [https://github.com/cesanta/mjs/issues/166](https://github.com/cesanta/mjs/issues/166).