CVE-2021-20640 Command injection in LAN-W300N/PGRB

Medium 6.8 Published Updated

An attacker with administrative privileges can execute arbitrary OS commands on the LOGITEC LAN-W300N/PGRB router due to a buffer overflow.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-20640?

CVE-2021-20640 is a medium-severity command injection vulnerability in LOGITEC CORPORATION LAN-W300N/PGRB, published on 12 Feb 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Buffer overflow vulnerability in LOGITEC LAN-W300N/PGRB allows an attacker with administrative privilege to execute an arbitrary OS command via unspecified vectors.

Weakness: CWE-120

Which versions are affected by CVE-2021-20640?

It affects 1 product.

Products include Logitech Lan-W300n\/Pgrb Firmware.

How do I fix CVE-2021-20640?

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

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

Sources

Also known as GHSA-56gf-wcqm-qvfm.

Is CVE-2021-20640 in your software?

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

Check your SBOMs for free