CVE-2021-33360 stoqey/gnuplot is vulnerable to command injection
Attackers can execute arbitrary code via the plotCallack and filePath parameters in the gnuplot npm library.
- 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-33360?
CVE-2021-33360 is a critical command injection vulnerability in n/a, published on 10 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue found in Stoqey gnuplot v.0.0.3 and earlier allows attackers to execute arbitrary code via the src/index.ts, plotCallack, child_process, and/or filePath parameter(s).
Which versions are affected by CVE-2021-33360?
2 open source packages ship an affected version, including @stoqey/gnuplot. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@stoqey/gnuplot npm | All versions to 0.0.3 | None |
@stoqey/gnuplot npm | All versions to 0.0.3 | None |
Products include Stoqey Gnuplot.
How do I fix CVE-2021-33360?
No fix has been published for CVE-2021-33360 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-33360 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-33360 exists.
Sources
Also known as GHSA-795w-7426-m94j.