CVE-2021-36535 Memory corruption in n/a

Medium 5.5 Published Updated

Remote attackers can cause denial of service in Cesanta mJS by submitting crafted JavaScript files that trigger a buffer overflow.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-36535?

CVE-2021-36535 is a medium-severity memory corruption vulnerability in Cesanta Mjs, published on 3 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Buffer Overflow vulnerability in Cesanta mJS 1.26 allows remote attackers to cause a denial of service via crafted .js file to mjs_set_errorf.

Weakness: CWE-787

Which versions are affected by CVE-2021-36535?

It affects 1 product.

Products include Cesanta Mjs.

How do I fix CVE-2021-36535?

No fix has been published for CVE-2021-36535 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-36535 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-36535 exists.

All Cesanta Mjs vulnerabilities

Sources

Also known as GHSA-9mr9-jp9j-332h.

Is CVE-2021-36535 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free