CVE-2021-21887 Memory corruption in Lantronix

Critical 9.1 Published Updated

A stack-based buffer overflow in the Web Manager allows authenticated attackers to execute arbitrary code via a crafted HTTP request.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-21887?

CVE-2021-21887 is a critical memory corruption vulnerability in Lantronix, published on 22 Dec 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A stack-based buffer overflow vulnerability exists in the Web Manager SslGenerateCSR functionality of Lantronix PremierWave 2050 8.9.0.0R4 (in QEMU). A specially crafted HTTP request can lead to remote code execution. An attacker can make an authenticated HTTP request to trigger this vulnerability.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2021-21887?

It affects 1 product.

Products include Lantronix Premierwave 2050 Firmware.

How do I fix CVE-2021-21887?

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

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

Sources

Also known as GHSA-mh5r-cxjx-37mf.

Is CVE-2021-21887 in your software?

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

Check your SBOMs for free