CVE-2021-33445: Null Pointer Dereference
An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is NULL pointer dereference in mjsstringcharcodeat() in mjs.c.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2021-33445?
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.
What software is affected by CVE-2021-33445?
Cesanta MJS versions up to and excluding 2.20.0 are affected by CVE-2021-33445.
What is the severity of CVE-2021-33445?
The severity of CVE-2021-33445 is medium with a severity value of 5.5.
How can I fix CVE-2021-33445?
To fix CVE-2021-33445, it is recommended to update to a version of Cesanta MJS that is later than 2.20.0.
Where can I find more information about CVE-2021-33445?
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).