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_string_char_code_at() 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-33445 is a vulnerability in the mjs (mJS: Restricted JavaScript engine) ES6 (JavaScript version 6) that allows for a NULL pointer dereference in mjs_string_char_code_at() in mjs.c.
Cesanta MJS versions up to and excluding 2.20.0 are affected by CVE-2021-33445.
The severity of CVE-2021-33445 is medium with a severity value of 5.5.
To fix CVE-2021-33445, it is recommended to update to a version of Cesanta MJS that is later than 2.20.0.
You can find more information about CVE-2021-33445 at the following references: [GitHub Gist](https://gist.github.com/Clingto/bb632c0c463f4b2c97e4f65f751c5e6d) and [GitHub Issue](https://github.com/cesanta/mjs/issues/169).