CVE-2022-25908 Command Injection in create-choo-electron

High 7.4 Published Updated

Attackers can execute arbitrary commands via the devInstall function in create-choo-electron due to improper input sanitization.

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

What is CVE-2022-25908?

CVE-2022-25908 is a high-severity command injection vulnerability in create-choo-electron, published on 24 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

All versions of the package create-choo-electron are vulnerable to Command Injection via the devInstall function due to improper user-input sanitization.

Weakness: CWE-77, CWE-78

Which versions are affected by CVE-2022-25908?

2 open source packages ship an affected version, including create-choo-electron. It affects 1 product.

PackageAffectedFixed in
create-choo-electron npmAll versions to 2.0.0None
create-choo-electron npmAll versions to 2.0.0None

Products include Create-Choo-Electron Project Create-Choo-Electron.

How do I fix CVE-2022-25908?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-25908 exists.

Sources

Also known as GHSA-j8wr-fwf2-vvr9.

Is CVE-2022-25908 in your software?

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

Check your SBOMs for free