GHSA-88h9-fc6v-jcw7
JSON

medium

Unintended Require in larvitbase-www

Severity
medium rating by GitHub
Published
Last changed

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.

Affected

Product or packageVersionsReported by
larvitbase-www (npm)from 0.0.0GitHub Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-88h9-fc6v-jcw7 changed 2020-08-31CC-BY-4.0