CVE-2021-45997 Memory corruption in n/a

High 7.5 Published Updated

Attackers can cause a Denial of Service on Tenda G1 and G3 routers via a stack overflow in the port mapping configuration function.

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-2021-45997?

CVE-2021-45997 is a high-severity memory corruption vulnerability in n/a, published on 4 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Tenda routers G1 and G3 v15.11.0.17(9502)_CN were discovered to contain a stack overflow in the function formSetPortMapping. This vulnerability allows attackers to cause a Denial of Service (DoS) via the portMappingServer, portMappingProtocol, portMappingWan, porMappingtInternal, and portMappingExternal parameters.

Weakness: CWE-787

Which versions are affected by CVE-2021-45997?

It affects 2 products.

Products include Tendacn G1 Firmware, Tendacn G3 Firmware.

How do I fix CVE-2021-45997?

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

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

Sources

Also known as GHSA-j64h-5g9c-9ffq.

Is CVE-2021-45997 in your software?

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

Check your SBOMs for free