{"schemaVersion":3,"id":"CVE-2022-24441","aliases":["GHSA-4vrv-93c7-m92j"],"status":"published","duplicateOf":null,"title":null,"description":"The package snyk before 1.1064.0 are vulnerable to Code Injection when analyzing a project. An attacker who can convince a user to scan a malicious project can include commands in a build file such as build.gradle or gradle-wrapper.jar, which will be executed with the privileges of the application. This vulnerability may be triggered when running the the CLI tool directly, or when running a scan with one of the IDE plugins that invoke the Snyk CLI. Successful exploitation of this issue would likely require some level of social engineering - to coerce an untrusted project to be downloaded and analyzed via the Snyk CLI or opened in an IDE where a Snyk IDE plugin is installed and enabled. Additionally, if the IDE has a Trust feature then the target folder must be marked as ‘trusted’ in order to be vulnerable. **NOTE:** This issue is independent of the one reported in [CVE-2022-40764](https://security.snyk.io/vuln/SNYK-JS-SNYK-3037342), and upgrading to a fixed version for this addresses that issue as well. The affected IDE plugins and versions are: - VS Code - Affected: <=1.8.0, Fixed: 1.9.0 - IntelliJ - Affected: <=2.4.47, Fixed: 2.4.48 - Visual Studio - Affected: <=1.1.30, Fixed: 1.1.31 - Eclipse - Affected: <=v20221115.132308, Fixed: All subsequent versions - Language Server - Affected: <=v20221109.114426, Fixed: All subsequent versions","dates":{"published":"2022-11-30T00:00:00.000Z","modified":"2025-04-24T19:54:51.898Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0076,"percentile":0.54486,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.027999999999999987,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00732},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0076,"percentile":0.54486}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0076,"percentile":0.54486}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_5D91C6FF90DB523C","name":"Exploit Reference (security.snyk.io)","source":"reference","url":"https://security.snyk.io/vuln/SNYK-JS-SNYK-3111871","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_12BD25BC1450FBCC","name":"Exploit Reference (imperva.com)","source":"reference","url":"https://www.imperva.com/blog/how-scanning-your-projects-for-security-issues-can-lead-to-remote-code-execution/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"Npm","product":"snyk","name":"snyk","label":"snyk","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/snyk","purlType":"npm","versions":[{"text":"< 1.1064.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1064.0","eol":null,"hubHref":null},{"vendor":"snyk","product":"snyk_cli","name":"snyk cli","label":"snyk_cli","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.1064.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1064.0","eol":null,"hubHref":"/vendor/snyk/snyk_cli"},{"vendor":"snyk","product":"snyk_language_server","name":"snyk language server","label":"snyk_language_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 20221109.114426","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 20221109.114426","eol":null,"hubHref":"/vendor/snyk/snyk_language_server"},{"vendor":"snyk","product":"snyk_security","name":"snyk security","label":"snyk_security","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.1.30","noFixRecorded":false,"fixedIn":null},{"text":"≤ 1.8.0","noFixRecorded":false,"fixedIn":null},{"text":"≤ 2.4.47","noFixRecorded":false,"fixedIn":null},{"text":"≤ 20221115.132308","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.1.30 | ≤ 1.8.0 | ≤ 2.4.47 | ≤ 20221115.132308","eol":null,"hubHref":"/vendor/snyk/snyk_security"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SNYK-3111871","label":"security.snyk.io/vuln/SNYK-JS-SNYK-3111871","hostname":"security.snyk.io","tags":["WEB","Exploit","Patch","Vendor Advisory"]},{"url":"https://www.imperva.com/blog/how-scanning-your-projects-for-security-issues-can-lead-to-remote-code-execution/","label":"www.imperva.com/blog/…","hostname":"www.imperva.com","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/snyk/vscode-extension/commit/0db3b4240be0db6a0a5c6d02c0d4231a2c4ba708","label":"github.com/snyk/vscode-extension/commit/0db3b4240be0db6a0a5c6d02c0d4231a2c4ba708","hostname":"github.com","tags":["WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/snyk/snyk-intellij-plugin/commit/56682f4ba6081ce1d95cb980cbfacd3809a826f4","label":"github.com/snyk/snyk-intellij-plugin/commit/56682f4ba6081ce1d95cb980cbfacd3809a826f4","hostname":"github.com","tags":["WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/snyk/snyk-visual-studio-plugin/commit/0b53dbbd4a3153c3ef9aaf797af3b5caad0f731a","label":"github.com/snyk/snyk-visual-studio-plugin/commit/0b53dbbd4a3153c3ef9aaf797af3b5caad0f731a","hostname":"github.com","tags":["WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/snyk/snyk-eclipse-plugin/commit/b5a8bce25a359ced75f83a729fc6b2393fc9a495","label":"github.com/snyk/snyk-eclipse-plugin/commit/b5a8bce25a359ced75f83a729fc6b2393fc9a495","hostname":"github.com","tags":["WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/snyk/snyk-ls/commit/b3229f0142f782871aa72d1a7dcf417546d568ed","label":"github.com/snyk/snyk-ls/commit/b3229f0142f782871aa72d1a7dcf417546d568ed","hostname":"github.com","tags":["WEB","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24441","label":"nvd.nist.gov/vuln/detail/CVE-2022-24441","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://www.imperva.com/blog/how-scanning-your-projects-for-security-issues-can-lead-to-remote-code-execution","label":"www.imperva.com/blog/…","hostname":"www.imperva.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-11-30T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-24T19:54:51.898Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T06:11:28.091Z","stale":false,"partial":false}}