CVE-2021-31875
Summary
| CVE | CVE-2021-31875 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-04-29 02:15:00 UTC |
| Updated | 2023-11-07 03:35:00 UTC |
| Description | ** DISPUTED ** In mjs_json.c in Cesanta MongooseOS mJS 1.26, a maliciously formed JSON string can trigger an off-by-one heap-based buffer overflow in mjs_json_parse, 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." |
Risk And Classification
Problem Types: CWE-787 | CWE-193
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Cesanta | Mongooseos Mjs | 1.26 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Release v1.26 · cesanta/mjs · GitHub | MISC | github.com | |
| huntr: Off-by-One Heap-based Buffer Overflow C Vulnerability in mjs | MISC | huntr.dev | |
| Fix culprit for JSON heap overflow by ex0dus-0x · Pull Request #2 · 418sec/mjs · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.