First published: Tue Jul 26 2022(Updated: )
An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is Integer overflow in gc_compact_strings() 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-33439 is an issue discovered in mjs, a restricted JavaScript engine, that involves an integer overflow in the gc_compact_strings() function.
CVE-2021-33439 could potentially allow an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition on systems running affected versions of Cesanta MJS.
CVE-2021-33439 has a severity rating of medium, with a CVSS score of 5.5.
To fix CVE-2021-33439, it is recommended to upgrade to a version of Cesanta MJS that is above 2.20.0.
Yes, you can find more information about CVE-2021-33439 in the following references: [link 1](https://gist.github.com/Clingto/bb632c0c463f4b2c97e4f65f751c5e6d) and [link 2](https://github.com/cesanta/mjs/issues/159).