CVE-2024-2214 Missing array size check in _Mtxinit() in the Xtensa port

High 7.0 Published Updated

A missing array size check in the Xtensa port of Eclipse ThreadX allows memory overwrites, potentially leading to code execution or 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-2024-2214?

CVE-2024-2214 is a high-severity memory corruption vulnerability in Eclipse Foundation ThreadX, published on 26 Mar 2024. 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

In Eclipse ThreadX before version 6.4.0, the _Mtxinit() function in the Xtensa port was missing an array size check causing a memory overwrite. The affected file was ports/xtensa/xcc/src/tx_clib_lock.c

Weakness: CWE-129

Which versions are affected by CVE-2024-2214?

It affects 1 product.

Products include Eclipse Threadx.

How do I fix CVE-2024-2214?

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

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

Sources

Also known as GHSA-vmp6-qhp9-r66x.

Is CVE-2024-2214 in your software?

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

Check your SBOMs for free