CVE-2021-21940 Memory corruption in Anker

Critical 10.0 Published Updated

A heap-based buffer overflow in Anker Eufy Homebase 2 allows remote attackers to execute arbitrary code or cause denial of service via malicious network packets.

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

CVE-2021-21940 is a critical memory corruption vulnerability in Anker, published on 12 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A heap-based buffer overflow vulnerability exists in the pushMuxer processRtspInfo functionality of Anker Eufy Homebase 2 2.1.6.9h. A specially-crafted network packet can lead to a heap buffer overflow. An attacker can send a malicious packet to trigger this vulnerability.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2021-21940?

It affects 1 product.

Products include Anker Eufy Homebase 2 Firmware.

How do I fix CVE-2021-21940?

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

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

Sources

Also known as GHSA-p9h3-248j-g7gh.

Is CVE-2021-21940 in your software?

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

Check your SBOMs for free