CVE-2021-43161 Command injection in n/a

High 8.8 Published Updated

Attackers can execute arbitrary code on Ruijie RG-EW Series Routers via a command injection vulnerability in the switch API.

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

CVE-2021-43161 is a high-severity command injection vulnerability in n/a, published on 4 May 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A Remote Code Execution (RCE) vulnerability exists in Ruijie Networks Ruijie RG-EW Series Routers up to ReyeeOS 1.55.1915 / EW_3.0(1)B11P55 via the doSwitchApi function in /cgi-bin/luci/api/switch.

Weakness: CWE-77

Which versions are affected by CVE-2021-43161?

It affects 1 product.

Products include Ruijienetworks Reyeeos.

How do I fix CVE-2021-43161?

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

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

Sources

Also known as GHSA-3j89-mpwx-chrr.

Is CVE-2021-43161 in your software?

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

Check your SBOMs for free