CVE-2021-23391: Calipso Arbitrary File Write via Archive Extraction (Zip Slip)
7.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.26327%
CWE
Published
6/8/2021
Updated
9/7/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
calipso | npm | <= 0.3.54 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests in module installation functionality where ZIP archive extraction occurs. The key indicators are:
- The Snyk PoC demonstrates exploitation through 'calipso modules download' with a malicious ZIP
- CWE-29 (Path Traversal) is explicitly listed
- The description specifies the attack vector is through module install functionality
- Node.js ZIP extraction vulnerabilities typically involve unsanitized path concatenation While exact line numbers aren't available, the module installation workflow (download -> extract -> write files) must contain the vulnerable path handling logic in these core module management functions.