Lucene search

K
osvGoogleOSV:GHSA-XF27-JQWV-GF3R
HistorySep 11, 2019 - 11:03 p.m.

Unintended Require in larvitbase-api

2019-09-1123:03:57
Google
osv.dev
7

0.001 Low

EPSS

Percentile

42.0%

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.

CPENameOperatorVersion
larvitbase-apilt0.5.5

0.001 Low

EPSS

Percentile

42.0%