CVE-2024-21878 Command injection in Envoy

High 7.1 Published Updated

Attackers can execute arbitrary OS commands via unsafe file name evaluation in an internal script of the Enphase IQ Gateway.

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-2024-21878?

CVE-2024-21878 is a high-severity command injection vulnerability in Enphase Envoy, published on 10 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Enphase IQ Gateway (formerly known as Envoy) allows OS Command Injection. This vulnerability is present in an internal script.This issue affects Envoy: from 4.x up to and including 8.x and is currently unpatched.

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2024-21878?

It affects 1 product.

Products include Enphase Iq Gateway Firmware.

How do I fix CVE-2024-21878?

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

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

Sources

Also known as GHSA-hch6-3cq4-hjhm.

Is CVE-2024-21878 in your software?

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

Check your SBOMs for free