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