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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203