{"id":"GHSA-xf27-jqwv-gf3r","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.\n\n\n## Recommendation\n\nUpgrade to version 0.5.4 or later.","aliases":["CVE-2019-5479"],"modified":"2023-11-08T04:01:36.773667Z","published":"2019-09-11T23:03:57Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2019-09-04T14:29:28Z","nvd_published_at":null,"cwe_ids":["CWE-829"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5479"},{"type":"WEB","url":"https://hackerone.com/reports/566056"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1120"}],"affected":[{"package":{"name":"larvitbase-api","ecosystem":"npm","purl":"pkg:npm/larvitbase-api"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.5.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/09/GHSA-xf27-jqwv-gf3r/GHSA-xf27-jqwv-gf3r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}