Advisory

GHSA-88h9-fc6v-jcw7

Also known as: None

Summary

Unintended Require in larvitbase-www

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-09-03 20:28 UTC
Modified
2020-08-31 18:49 UTC

Affected packages and fixes

larvitbase-www

npm · All systems

Affected

  • introduced 0.0.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences