CVE-2021-46520: Buffer Overflow

Published Jan 27, 2022
·
Updated

Cesanta MJS v2.20.0 was discovered to contain a heap buffer overflow via mjsjprintf at src/mjsutil.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-46520?

CVE-2021-46520 is classified as a high severity vulnerability due to the potential for a heap buffer overflow.

2

How do I fix CVE-2021-46520?

To fix CVE-2021-46520, you should upgrade to a newer version of Cesanta MJS that addresses this heap buffer overflow issue.

3

What software versions are affected by CVE-2021-46520?

CVE-2021-46520 specifically affects Cesanta MJS version 2.20.0.

4

What type of vulnerability is CVE-2021-46520?

CVE-2021-46520 is a heap buffer overflow vulnerability found in Cesanta MJS.

5

Where does the vulnerability CVE-2021-46520 occur in the code?

The vulnerability CVE-2021-46520 occurs in the mjs_jprintf function located in src/mjs_util.c.

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