CVE-2021-46521: Buffer Overflow
Published Jan 27, 2022
·Updated
Cesanta MJS v2.20.0 was discovered to contain a global buffer overflow via cvsnprintf at mjs/src/common/strutil.c.
Affected Software
1 affected component
Cesanta mJS=2.20.0
Event History
Jan 27, 2022
CVE Published
via MITRE·08:22 PM
Data Sourced
via MITRE·08:22 PM
Description
Frequently Asked Questions
1
What is the severity of CVE-2021-46521?
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.
2
How do I fix CVE-2021-46521?
To fix CVE-2021-46521, you should upgrade to a version of Cesanta MJS that is later than v2.20.0.
3
What type of vulnerability is CVE-2021-46521?
CVE-2021-46521 is classified as a global buffer overflow vulnerability.
4
In which component of Cesanta MJS is CVE-2021-46521 found?
CVE-2021-46521 is found in the str_util.c file within the common directory of the MJS source code.
5
Can CVE-2021-46521 affect other versions of the software?
CVE-2021-46521 specifically affects Cesanta MJS version 2.20.0, and other versions should be evaluated for similar vulnerabilities.