GHSA-88h9-fc6v-jcw7: Larvitbase www Unintended Require Vulnerability
MODERATEGHSA-88h9-fc6v-jcw7 is a MODERATE unintended require vulnerability (General Security Weakness) affecting Larvitbase www libraries in the npm ecosystem. The issue involves unintended require in larvitbase-www. Remediation is available in the latest vendor maintenance releases.
GHSA-88h9-fc6v-jcw7 at a Glance
How to Fix GHSA-88h9-fc6v-jcw7
To remediate this vulnerability, upgrade all affected Larvitbase www dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install larvitbase-www@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls larvitbase-www
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-88h9-fc6v-jcw7, inspect your project dependencies using npm:
npm ls larvitbase-www
Analyze the terminal output to locate any version of Larvitbase www in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls larvitbase-www command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Larvitbase www, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-88h9-fc6v-jcw7 Affected Larvitbase www Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
larvitbase-www
|
npm |
≥ 0.0.0
|
|
References
Frequently Asked Questions
What is GHSA-88h9-fc6v-jcw7?
Which Larvitbase www versions are affected?
What version fixes GHSA-88h9-fc6v-jcw7?
Is larvitbase-www affected?
What CWE is associated with GHSA-88h9-fc6v-jcw7?
How can I check npm dependencies for GHSA-88h9-fc6v-jcw7?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-88h9-fc6v-jcw7",
"modified" : "2020-08-31T18:49:17Z",
"published" : "2020-09-03T20:28:51Z",
"aliases" : [ ],
"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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "larvitbase-www"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://hackerone.com/reports/526258"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/1156"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:49:17Z",
"nvd_published_at" : null
}
}