CVE-2020-11883: Diavante vue-storefront-api and storefront-api disclose stack trace
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.6665%
CWE
Published
5/24/2022
Updated
8/22/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
storefront-api | npm | < 1.0.0-rc3 | 1.0.0-rc3 |
vue-storefront-api | npm | < 1.12.0 | 1.12.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests in error handling middleware that constructs HTTP responses containing error details. Key evidence comes from:
- vue-storefront-api's error middleware in src/index.ts directly interpolated stack traces into responses
- storefront-api's catchInvalidRequests in lib/error.ts handled error formatting Both functions contained logic to expose stack traces through the server.showErrorStack configuration flag. The patches modified these functions to sanitize stack output and set showErrorStack default to false, indicating these were the vectors for information disclosure.