CVE-2020-11883: Storefront api Diavante Vue-storefront-api And Storefront-api Disclose Vulnerability
MODERATECVE-2020-11883 is a MODERATE (CVSS 5.3) diavante vue-storefront-api and storefront-api disclose vulnerability (CWE-209: Generation of Error Message Containing Sensitive Information) affecting Storefront api libraries in the npm ecosystem. The issue involves diavante vue-storefront-api and storefront-api disclose stack trace. Remediation is available by upgrading affected packages to version 1.0.0-rc3, 1.12.0.
CVE-2020-11883 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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2020-11883
To remediate this vulnerability, upgrade all affected Storefront 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 storefront-api@1.0.0-rc3
npm install vue-storefront-api@1.12.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls storefront-api
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2020-11883, inspect your project dependencies using npm:
npm ls storefront-api
Analyze the terminal output to locate any version of Storefront api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.0-rc3), your application is affected.
Note: The npm ls storefront-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-209: Generation of Error Message Containing Sensitive Information, where the product generates an error message that includes sensitive information about its environment, users, or associated data. In Storefront 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-2020-11883 Affected Storefront api Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
storefront-api
|
npm |
< 1.0.0-rc3
|
1.0.0-rc3
|
|
vue-storefront-api
|
npm |
< 1.12.0
|
1.12.0
|
References
Frequently Asked Questions
What is CVE-2020-11883?
Which Storefront api versions are affected?
What version fixes CVE-2020-11883?
Is storefront-api affected?
Is vue-storefront-api affected?
What is the CVSS score of CVE-2020-11883?
What CWE is associated with CVE-2020-11883?
How can I check npm dependencies for CVE-2020-11883?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9wxj-37p8-49ff",
"modified" : "2023-07-13T17:45:08Z",
"published" : "2022-05-24T17:15:44Z",
"aliases" : [ "CVE-2020-11883" ],
"summary" : "Diavante vue-storefront-api and storefront-api disclose stack trace",
"details" : "In Divante vue-storefront-api through 1.11.1 and storefront-api through 1.0-rc.1, as used in VueStorefront PWA, unexpected HTTP requests lead to an exception that discloses the error stack trace, with absolute file paths and Node.js module names.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "storefront-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.0-rc3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "vue-storefront-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.12.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-11883"
}, {
"type" : "WEB",
"url" : "https://github.com/DivanteLtd/storefront-api/pull/59"
}, {
"type" : "WEB",
"url" : "https://github.com/DivanteLtd/vue-storefront-api/pull/431"
}, {
"type" : "WEB",
"url" : "https://github.com/vuestorefront/storefront-api/commit/9165b80c72b469c9615ce2f665499e6f6ead0a6a"
}, {
"type" : "WEB",
"url" : "https://github.com/vuestorefront/vue-storefront-api/commit/965247f41f872e84e4662d04d8e2108eaf6119da"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-209" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-13T17:45:08Z",
"nvd_published_at" : "2020-04-17T19:15:00Z"
}
}