{"id":"GHSA-88h9-fc6v-jcw7","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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","modified":"2020-08-31T18:49:17Z","published":"2020-09-03T20:28:51Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:49:17Z","nvd_published_at":null,"cwe_ids":[]},"references":[{"type":"WEB","url":"https://hackerone.com/reports/526258"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1156"}],"affected":[{"package":{"name":"larvitbase-www","ecosystem":"npm","purl":"pkg:npm/larvitbase-www"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-88h9-fc6v-jcw7/GHSA-88h9-fc6v-jcw7.json"}}],"schema_version":"1.9.0"}