CVE-2021-21954 Command injection in Anker

Critical 9.9 Published Updated

Attackers can execute arbitrary commands on Anker Eufy Homebase 2 devices via crafted network packets in the wifi_country_code_update function.

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

CVE-2021-21954 is a critical command injection vulnerability in Anker, published on 9 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A command execution vulnerability exists in the wifi_country_code_update functionality of the home_security binary of Anker Eufy Homebase 2 2.1.6.9h. A specially-crafted set of network packets can lead to arbitrary command execution.

Weakness: CWE-78

Which versions are affected by CVE-2021-21954?

It affects 1 product.

Products include Anker Eufy Homebase 2 Firmware.

How do I fix CVE-2021-21954?

No fix has been published for CVE-2021-21954 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2021-21954 being exploited?

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

Sources

Also known as GHSA-853q-qp3f-8m3v.

Is CVE-2021-21954 in your software?

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

Check your SBOMs for free