PT-2022-12768 · Cesanta · Cesanta Mjs

Hope-Fly

·

Published

2022-01-27

·

Updated

2022-02-01

·

CVE-2021-46523

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Cesanta MJS version 2.20.0
Description A heap buffer overflow issue was discovered in Cesanta MJS via the to json or debug function at mjs/src/mjs json.c. This issue can be exploited, potentially leading to unintended consequences.
Recommendations For Cesanta MJS version 2.20.0, consider disabling the to json or debug function as a temporary workaround until a patch is available. Restrict access to the mjs/src/mjs json.c module to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this issue.

Exploit

Fix

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-46523

Affected Products

Cesanta Mjs