CVE-2021-46518 Memory corruption in n/a
A heap buffer overflow in the MJS JavaScript engine allows attackers to execute arbitrary code or cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-46518?
CVE-2021-46518 is a high-severity memory corruption vulnerability in Cesanta Mjs, published on 27 Jan 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Cesanta MJS v2.20.0 was discovered to contain a heap buffer overflow via mjs_disown at src/mjs_core.c.
Weakness: CWE-787
Which versions are affected by CVE-2021-46518?
It affects 1 product.
Products include Cesanta Mjs.
How do I fix CVE-2021-46518?
No fix has been published for CVE-2021-46518 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-46518 being exploited?
There is no known exploitation of CVE-2021-46518 in the wild and no public exploit code.
Other vulnerabilities in Cesanta Mjs
Sources
Also known as GHSA-rrr6-r9v5-phwp.