7.8
CWE
120 119
Advisory Published
Updated

CVE-2021-46513: Buffer Overflow

First published: Thu Jan 27 2022(Updated: )

Cesanta MJS v2.20.0 was discovered to contain a global buffer overflow via mjs_mk_string at mjs/src/mjs_string.c.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
MJS=2.20.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-46513?

    CVE-2021-46513 has been classified as a high-severity vulnerability due to the potential for remote code execution.

  • How do I fix CVE-2021-46513?

    To fix CVE-2021-46513, update Cesanta MJS to the latest version that addresses the buffer overflow vulnerability.

  • What type of vulnerability is CVE-2021-46513?

    CVE-2021-46513 is a global buffer overflow vulnerability affecting Cesanta MJS.

  • In which version of Cesanta MJS is CVE-2021-46513 present?

    CVE-2021-46513 is present in Cesanta MJS version 2.20.0.

  • What could be the impact of exploiting CVE-2021-46513?

    Exploiting CVE-2021-46513 could allow an attacker to execute arbitrary code on the affected system.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203