First published: Thu Jan 27 2022(Updated: )
Cesanta MJS v2.20.0 was discovered to contain a global buffer overflow via c_vsnprintf at mjs/src/common/str_util.c.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
MJS | =2.20.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-46521 has a medium severity rating due to the risk of a buffer overflow that could lead to system crashes or execution of arbitrary code.
To fix CVE-2021-46521, you should upgrade to a version of Cesanta MJS that is later than v2.20.0.
CVE-2021-46521 is classified as a global buffer overflow vulnerability.
CVE-2021-46521 is found in the str_util.c file within the common directory of the MJS source code.
CVE-2021-46521 specifically affects Cesanta MJS version 2.20.0, and other versions should be evaluated for similar vulnerabilities.