CVE-2023-30421 Details
Description
mystrtod in mjson 1.2.7 requires more than a billion iterations during processing of certain digit strings such as 8891110122900e913013935755114.
A denial-of-service vulnerability has been identified in the mjson JSON parsing library, specifically in version 1.2.7. The issue arises in the 'mystrtod' function, where certain digit strings trigger an excessive number of iterations—over a billion—during processing. This flaw causes significant delays, with parsing times exceeding 10 seconds, in contrast to other JSON parsers that handle the same input quickly. The vulnerability is particularly concerning because mjson is intended for use in resource-constrained embedded devices, such as those found in critical industrial control systems, where such delays could have severe consequences.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 19, 2025CISA-ADP
Assessed Apr 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/boofish/json_bugs/blob/main/mjson | [email protected] | ExploitTechnical Analysis |
| https://github.com/cesanta/mjson/releases | [email protected] | Vendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-407 | Inefficient Algorithmic Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| cesanta mjson | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 19, 2025 | New CVE Received | [email protected] |
Volerion