CVE-2020-7738 Arbitrary Code Execution
The shiba npm package allows arbitrary code execution because it uses the unsafe load function from js-yaml instead of safeLoad.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-7738?
CVE-2020-7738 is a high-severity code injection vulnerability in shiba, published on 2 Oct 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
All versions of package shiba are vulnerable to Arbitrary Code Execution due to the default usage of the function load() of the package js-yaml instead of its secure replacement , safeLoad().
Which versions are affected by CVE-2020-7738?
2 open source packages ship an affected version, including shiba. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
shiba npm | All versions to 1.2.1 | None |
shiba npm | All versions to 1.2.1 | None |
Products include Shiba Project Shiba.
How do I fix CVE-2020-7738?
No fix has been published for CVE-2020-7738 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2020-7738 being exploited?
There is no known exploitation of CVE-2020-7738 in the wild and no public exploit code.
Other vulnerabilities in shiba
Sources
Also known as GHSA-jvf4-g24p-2qgw.