CVE-2021-21950 Memory corruption in Anker

Critical 10.0 Published Updated

A remote attacker can execute arbitrary code on Anker Eufy Homebase 2 devices by sending a specially crafted network packet to the home_security binary.

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

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

Official description

An out-of-bounds write vulnerability exists in the CMD_DEVICE_GET_SERVER_LIST_REQUEST functionality of the home_security binary of Anker Eufy Homebase 2 2.1.6.9h in function recv_server_device_response_msg_process. A specially-crafted network packet can lead to code execution.

Weakness: CWE-1284, CWE-119

Which versions are affected by CVE-2021-21950?

It affects 1 product.

Products include Anker Eufy Homebase 2 Firmware.

How do I fix CVE-2021-21950?

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

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

Sources

Also known as GHSA-mh9p-pq79-6q5x.

Is CVE-2021-21950 in your software?

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

Check your SBOMs for free