CVE-2021-23378 Arbitrary Command Injection
Attackers can execute arbitrary commands via unsanitized input in the picotts library's say function, requiring an upgrade to mitigate.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-23378?
CVE-2021-23378 is a critical command injection vulnerability in picotts, published on 18 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
This affects all versions of package picotts. If attacker-controlled user input is given to the say function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
Weakness: CWE-78
Which versions are affected by CVE-2021-23378?
2 open source packages ship an affected version, including picotts. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
picotts npm | All versions to 0.1.1 | None |
picotts npm | All versions to 0.1.1 | None |
Products include Picotts Project Picotts.
How do I fix CVE-2021-23378?
No fix has been published for CVE-2021-23378 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-23378 being exploited?
There is no known exploitation of CVE-2021-23378 in the wild and no public exploit code.
Sources
Also known as GHSA-wq7q-5v6j-xfv6.