CVE-2020-7738 Arbitrary Code Execution

High 8.3 Published Updated

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.

PackageAffectedFixed in
shiba npmAll versions to 1.2.1None
shiba npmAll versions to 1.2.1None

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.

Sources

Also known as GHSA-jvf4-g24p-2qgw.

Is CVE-2020-7738 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free