GHSA-88h9-fc6v-jcw7 Unintended Require in larvitbase-www

Not scored Published

Attackers can execute arbitrary JavaScript files via unsanitized input in larvitbase-www, leading to remote code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is GHSA-88h9-fc6v-jcw7?

GHSA-88h9-fc6v-jcw7 is a code injection vulnerability in larvitbase-www, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All versions of larvitbase-www are vulnerable to an Unintended Require. The package exposes an API endpoint and passes a GET parameter unsanitized to an require() call. This allows attackers to execute any .js file in the same folder as the server is running.

Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

Which versions are affected by GHSA-88h9-fc6v-jcw7?

2 open source packages ship an affected version, including larvitbase-www.

PackageAffectedFixed in
larvitbase-www npmFrom 0.0.0None
larvitbase-www npmFrom 0.0.0None

How do I fix GHSA-88h9-fc6v-jcw7?

No fix has been published for GHSA-88h9-fc6v-jcw7 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 GHSA-88h9-fc6v-jcw7 being exploited?

There is no known exploitation of GHSA-88h9-fc6v-jcw7 in the wild and no public exploit code.

Sources

Is GHSA-88h9-fc6v-jcw7 in your software?

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

Check your SBOMs for free