GHSA-xf27-jqwv-gf3r
Dashboard / Vulnerabilities / 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. ## Recommendation Upgrade to version 0.5.4 or later.
References: https://nvd.nist.gov/vuln/detail/CVE-2019-5479, https://hackerone.com/reports/566056, https://www.npmjs.com/advisories/1120
Affected packages
Package
Name: larvitbase-api
Purl: pkg:npm/larvitbase-api
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -0.5.5
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
