Vulnerabilities in pkg:npm/larvitbase-api
PACKAGECVE-2019-5479 is a HIGH (CVSS 7.5) unintended require vulnerability (CWE-829: Inclusion of Functionality from Untrusted Control Sphere) affecting Larvitbase api libraries in the npm ecosystem. The issue involves unintended require in larvitbase-api. Remediation is available by upgrading affected packages to version 0.5.5.
pkg:npm/larvitbase-api
Vulnerability advisories affecting package pkg:npm/larvitbase-api. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-xf27-jqwv-gf3r | CVE-2019-5479 | HIGH | Unintended Require in larvitbase-api |
CVE-2019-5479 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2019-5479
To remediate this vulnerability, upgrade all affected Larvitbase api 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-api@0.5.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls larvitbase-api
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2019-5479, inspect your project dependencies using npm:
npm ls larvitbase-api
Analyze the terminal output to locate any version of Larvitbase api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.5), your application is affected.
Note: The npm ls larvitbase-api 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 CWE-829: Inclusion of Functionality from Untrusted Control Sphere, where the product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere. In Larvitbase api, 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
CVE-2019-5479 Affected Larvitbase api Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
larvitbase-api
|
npm |
< 0.5.5
|
0.5.5
|
References
Frequently Asked Questions
What is CVE-2019-5479?
Which Larvitbase api versions are affected?
What version fixes CVE-2019-5479?
Is larvitbase-api affected?
What is the CVSS score of CVE-2019-5479?
What CWE is associated with CVE-2019-5479?
How can I check npm dependencies for CVE-2019-5479?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xf27-jqwv-gf3r",
"modified" : "2023-09-11T18:33:46Z",
"published" : "2019-09-11T23:03:57Z",
"aliases" : [ "CVE-2019-5479" ],
"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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "larvitbase-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.5.5"
} ]
} ]
} ],
"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"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-829" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2019-09-04T14:29:28Z",
"nvd_published_at" : null
}
}