CVE-2021-31875: Buffer Overflow

Published Apr 29, 2021
·
Updated

DISPUTED In mjsjson.c in Cesanta MongooseOS mJS 1.26, a maliciously formed JSON string can trigger an off-by-one heap-based buffer overflow in mjsjsonparse, which can potentially lead to redirection of control flow. NOTE: the original reporter disputes the significance of this finding because "there isn’t very much of an opportunity to exploit this reliably for an information leak, so there isn’t any real security impact."

Affected Software

1 affected component
Cesanta MongooseOS mJS=1.26

Remediation

Event History

Apr 29, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Disputed
02:15 AM

Frequently Asked Questions

1

What is the severity of CVE-2021-31875?

The severity of CVE-2021-31875 is disputed, but it involves a potential off-by-one heap-based buffer overflow.

2

How do I fix CVE-2021-31875?

To fix CVE-2021-31875, update Cesanta MongooseOS mJS to version 1.27 or later.

3

What software is affected by CVE-2021-31875?

CVE-2021-31875 affects Cesanta MongooseOS mJS version 1.26.

4

What type of vulnerability is CVE-2021-31875?

CVE-2021-31875 is classified as a buffer overflow vulnerability.

5

Can CVE-2021-31875 allow control flow redirection?

Yes, CVE-2021-31875 can potentially lead to redirection of control flow if exploited.

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