{"id":"CVE-2021-33438","aliases":["EUVD-2021-20142","GHSA-j6m5-w993-29q5"],"status":"published","title":"An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6)....","description":"An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is stack buffer overflow in json_parse_array() in mjs.c.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00338,"percentile":0.27508,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2022-07-26T12:09:09Z","modified":"2026-10-20T10:54:43Z","products":[{"vendor":"cesanta","product":"mjs"}],"references":[{"url":"https://github.com/cesanta/mjs/issues/158","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://gist.github.com/Clingto/bb632c0c463f4b2c97e4f65f751c5e6d","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33438"},{"url":"https://github.com/advisories/GHSA-j6m5-w993-29q5"}],"sources":{"cve":[{"id":"CVE-2021-33438","description":"An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is stack buffer overflow in json_parse_array() in mjs.c.","status":"published","published":"2022-07-26T12:09:09Z","modified":"2024-08-03T23:50:42.97Z","updated_at":"2026-11-02T14:33:10.204494Z"}],"euvd":[{"id":"EUVD-2021-20142","description":"An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is stack buffer overflow in json_parse_array() in mjs.c.","status":"published","published":"2022-07-26T12:09:09Z","modified":"2024-08-03T23:50:42Z","updated_at":"2026-11-03T03:24:34.304953Z"}],"ghsa":[{"id":"GHSA-j6m5-w993-29q5","title":"An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6)....","description":"An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is stack buffer overflow in json_parse_array() in mjs.c.","status":"published","published":"2022-07-27T00:00:45Z","modified":"2023-01-27T05:06:20Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:42:53.481756Z"}],"nvd":[{"id":"CVE-2021-33438","description":"An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is stack buffer overflow in json_parse_array() in mjs.c.","status":"published","published":"2022-07-26T13:15:08.63Z","modified":"2026-06-17T03:54:33.097Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:07:06.501652Z"}],"osv":[{"id":"CVE-2021-33438","description":"An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is stack buffer overflow in json_parse_array() in mjs.c.","status":"published","published":"2022-07-26T13:15:08.63Z","modified":"2026-10-20T10:54:43.91162571Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:19.793849Z"}]}}
