CVE-2021-46510 Denial of service in n/a

Medium 5.5 Published Updated

An assertion failure in the MJS JavaScript engine allows attackers to cause a denial of service via crafted input.

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-46510?

CVE-2021-46510 is a medium-severity denial of service 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

There is an Assertion `s < mjs->owned_strings.buf + mjs->owned_strings.len' failed at src/mjs_gc.c in Cesanta MJS v2.20.0.

Weakness: CWE-617

Which versions are affected by CVE-2021-46510?

It affects 1 product.

Products include Cesanta Mjs.

How do I fix CVE-2021-46510?

No fix has been published for CVE-2021-46510 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-46510 being exploited?

There is no known exploitation of CVE-2021-46510 in the wild and no public exploit code.

All Cesanta Mjs vulnerabilities

Sources

Also known as GHSA-pr4h-pc76-99rf.

Is CVE-2021-46510 in your software?

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

Check your SBOMs for free