Vulnerabilities in pkg:npm/insight-api
PACKAGECVE-2018-1000023 is a MODERATE (CVSS 5.3) insight api transaction broadcast endpoint vulnerability (CWE-20: Improper Input Validation) affecting Insight api libraries in the npm ecosystem. The issue involves insight api transaction broadcast endpoint can result in full path disclosure. Remediation is available in the latest vendor maintenance releases.
pkg:npm/insight-api
Vulnerability advisories affecting package pkg:npm/insight-api. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-8p2p-p8mg-x3cw | CVE-2018-1000023 | MODERATE | Insight API transaction broadcast endpoint can result in Full Path Disclosure |
CVE-2018-1000023 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2018-1000023
To remediate this vulnerability, upgrade all affected Insight 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 insight-api@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls insight-api
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2018-1000023, inspect your project dependencies using npm:
npm ls insight-api
Analyze the terminal output to locate any version of Insight api 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 insight-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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Insight 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-2018-1000023 Affected Insight api Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
insight-api
|
npm |
≤ 5.0.0
|
|
References
Frequently Asked Questions
What is CVE-2018-1000023?
Which Insight api versions are affected?
What version fixes CVE-2018-1000023?
Is insight-api affected?
What is the CVSS score of CVE-2018-1000023?
What CWE is associated with CVE-2018-1000023?
How can I check npm dependencies for CVE-2018-1000023?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8p2p-p8mg-x3cw",
"modified" : "2022-04-25T22:32:08Z",
"published" : "2018-03-05T19:33:54Z",
"aliases" : [ "CVE-2018-1000023" ],
"summary" : "Insight API transaction broadcast endpoint can result in Full Path Disclosure",
"details" : "Bitpay/insight-api Insight-api version 5.0.0 and earlier contains a CWE-20: input validation vulnerability in transaction broadcast endpoint that can result in Full Path Disclosure. This attack appear to be exploitable via Web request.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "insight-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "5.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1000023"
}, {
"type" : "WEB",
"url" : "https://github.com/bitpay/insight-api/issues/542"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-8p2p-p8mg-x3cw"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/bitpay/insight-api"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:26:02Z",
"nvd_published_at" : null
}
}