CVE-2020-7782 Command Injection
Attackers can execute arbitrary commands via the spritesheet-js library due to a dependency on a vulnerable package.
- 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-2020-7782?
CVE-2020-7782 is a critical command injection vulnerability in spritesheet-js, published on 8 Feb 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 spritesheet-js. It depends on a vulnerable package platform-command. The injection point is located in line 32 in lib/generator.js, which is triggered by main entry of the package.
Weakness: CWE-78
Which versions are affected by CVE-2020-7782?
2 open source packages ship an affected version, including spritesheet-js. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
spritesheet-js npm | All versions to 1.2.6 | None |
spritesheet-js npm | All versions to 1.2.6 | None |
Products include Spritesheet-Js Project Spritesheet-Js.
How do I fix CVE-2020-7782?
No fix has been published for CVE-2020-7782 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-2020-7782 being exploited?
There is no known exploitation of CVE-2020-7782 in the wild and no public exploit code.
Sources
Also known as GHSA-333x-qr3v-g4xx.