CVE-2021-31875

** 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."
References
Link Resource
https://github.com/418sec/mjs/pull/2 Patch Third Party Advisory
https://github.com/cesanta/mjs/releases/tag/1.26 Release Notes Third Party Advisory
https://huntr.dev/bounties/1-other-mjs/ Exploit Third Party Advisory
Advertisement

NeevaHost hosting service

Configurations

Configuration 1 (hide)

cpe:2.3:a:cesanta:mongooseos_mjs:1.26:*:*:*:*:*:*:*

Information

Published : 2021-04-28 19:15

Updated : 2023-03-01 08:02


NVD link : CVE-2021-31875

Mitre link : CVE-2021-31875


JSON object : View

CWE
CWE-787

Out-of-bounds Write

CWE-193

Off-by-one Error

Advertisement

dedicated server usa

Products Affected

cesanta

  • mongooseos_mjs