CVE-2024-4497 Tenda i21 formexeCommand stack-based overflow

High 8.8 Published Updated

Remote attackers can trigger a stack-based buffer overflow in the Tenda i21 router via the formexeCommand function, potentially leading to arbitrary code execution.

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

What is CVE-2024-4497?

CVE-2024-4497 is a high-severity memory corruption vulnerability in Tenda i21, published on 5 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in Tenda i21 1.0.0.14(4656). It has been declared as critical. This vulnerability affects the function formexeCommand. The manipulation of the argument cmdinput leads to stack-based buffer overflow. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. VDB-263086 is the identifier assigned to this vulnerability. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2024-4497?

It affects 1 product.

Products include Tenda I21 Firmware.

How do I fix CVE-2024-4497?

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

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

Sources

Also known as GHSA-98jv-mj99-2vh5.

Is CVE-2024-4497 in your software?

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

Check your SBOMs for free