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_part_get_by_offset() 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-33449 is an issue discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6), which involves a NULL pointer dereference in mjs_bcode_part_get_by_offset() in mjs.c.
The severity of CVE-2021-33449 is medium with a CVSS score of 5.5.
Cesanta MJS up to version 2.20.0 is affected by CVE-2021-33449.
Yes, upgrading to a version beyond 2.20.0 of Cesanta MJS will fix the vulnerability.
You can find more information about CVE-2021-33449 in the following references: [Link 1](https://gist.github.com/Clingto/bb632c0c463f4b2c97e4f65f751c5e6d), [Link 2](https://github.com/cesanta/mjs/issues/162).