CVE-2022-24441: snyk Code Injection vulnerability
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.77653%
CWE
Published
7/6/2023
Updated
7/6/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
snyk | npm | < 1.1064.0 | 1.1064.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from executing build processes/CLI commands without proper trust validation. Patches across all platforms added trust checks (checkIfTrusted
, confirmScanningAndSetWorkspaceTrustedStateIfNeeded
, trustedFolders
) filtering before command execution. The vulnerable functions are the pre-patch versions of these methods that lacked trust validation, allowing malicious build file commands to execute when scanning untrusted projects.