CVE-2021-32684 is a medium-severity (CVSS 5.5) CWE-670 vulnerability in @scandipwa/magento-scripts. A fix is available for @scandipwa/magento-scripts — see the affected versions and patch details below.
Missing Handler in @scandipwa/magento-scripts
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2021-32684 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,738 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
@scandipwa/magento-scriptsnpmDescription
Impact
After changing the function from synchronous to asynchronous there wasn't implemented handler in the start, stop, exec and logs commands, effectively making them unusable.
Patches
Version 1.5.3 contains patches for the problems described above.
Workarounds
Upgrade to patched or latest (recommended) version npm i @scandipwa/[email protected] or npm i @scandipwa/magento-scripts@latest.
References
New releases always available here: https://github.com/scandipwa/create-magento-app/releases
For more information
If you have any questions or comments about this advisory:
- Open an issue in create-magento-app
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | @scandipwa/magento-scripts | ≥ 1.5.1&&< 1.5.3 | 1.5.3npm install @scandipwa/magento-scripts@1.5.3 |
Affected Products
magento-scriptsscandipwaDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @scandipwa/magento-scripts, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update @scandipwa/magento-scripts to 1.5.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-32684 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2021-32684 in your dependencies?
Find it across npm, including transitive dependencies.