CVE-2023-43338 Memory corruption in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary code via crafted input due to a function pointer hijacking vulnerability in the Cesanta mjs library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-43338?

CVE-2023-43338 is a critical memory corruption vulnerability in Cesanta Mjs, published on 22 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Cesanta mjs v2.20.0 was discovered to contain a function pointer hijacking vulnerability via the function mjs_get_ptr(). This vulnerability allows attackers to execute arbitrary code via a crafted input.

Weakness: CWE-787

Which versions are affected by CVE-2023-43338?

It affects 1 product.

Products include Cesanta Mjs.

How do I fix CVE-2023-43338?

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

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

All Cesanta Mjs vulnerabilities

Sources

Also known as GHSA-92m7-86f6-r2hj.

Is CVE-2023-43338 in your software?

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

Check your SBOMs for free