Advisory

GHSA-xf27-jqwv-gf3r

Also known as: CVE-2019-5479

Summary

Unintended Require in larvitbase-api

Details

Versions of larvitbase-api prior to 0.5.4 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

Upgrade to version 0.5.4 or later.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-09-11 23:03 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

larvitbase-api

npm · All systems

Affected

  • introduced 0, fixed 0.5.5 (semver)

Fixed versions

0.5.5

Fix

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