CVE-2021-23154 Command injection in Lens

Medium 6.3 Published Updated

Attackers can execute arbitrary shell commands via malicious Helm chart configurations in Lens, requiring users to upgrade to a patched version.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-23154?

CVE-2021-23154 is a medium-severity command injection vulnerability in Mirantis Lens, published on 10 Jan 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In Lens prior to 5.3.4, custom helm chart configuration creates helm commands from string concatenation of provided arguments which are then executed in the user's shell. Arguments can be provided which cause arbitrary shell commands to run on the system.

Weakness: CWE-78, CWE-94

Which versions are affected by CVE-2021-23154?

It affects 1 product.

Products include Mirantis Lens.

How do I fix CVE-2021-23154?

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

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

Sources

Also known as GHSA-j79q-frp5-24gc.

Is CVE-2021-23154 in your software?

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

Check your SBOMs for free