CVE-2022-24431 Command Injection
Attackers can execute arbitrary commands via the execute function in the abacus-ext-cmdline npm package 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-24431?
CVE-2022-24431 is a high-severity command injection vulnerability in abacus-ext-cmdline, published on 21 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
All versions of package abacus-ext-cmdline are vulnerable to Command Injection via the execute function due to improper user-input sanitization.
Weakness: CWE-78
Which versions are affected by CVE-2022-24431?
2 open source packages ship an affected version, including abacus-ext-cmdline. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
abacus-ext-cmdline npm | All versions to 0.0.6-dev.9 | None |
abacus-ext-cmdline npm | All versions to 0.0.6-dev.9 | None |
Products include Abacus-Ext-Cmdline Project Abacus-Ext-Cmdline.
How do I fix CVE-2022-24431?
No fix has been published for CVE-2022-24431 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-24431 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-24431 exists.
Sources
Also known as GHSA-m5v8-wpw4-rj3x.