{"id":"CVE-2024-48964","published":"2024-10-23T18:24:42Z","modified":"2024-10-24T13:48:00Z","title":"The package Snyk CLI before 1.1294.0 is vulnerable to Code Injection when scanning an untrusted Gradle project","vendor":"Snyk","product":"Snyk Cli","tier":"tail","description":{"text":"The package Snyk CLI before 1.1294.0 is vulnerable to Code Injection when scanning an untrusted Gradle project. The vulnerability can be triggered if Snyk test is run inside the untrusted project due to the improper handling of the current working directory name. Snyk recommends only scanning trusted projects.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00469,"percentile":0.4145,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/snyk/snyk-gradle-plugin/commit/2f5ee7579f00660282dd161a0b79690f4a9c865d","tags":[]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":8.29},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"snyk","affectedVersions":[{"vendor":"Snyk","product":"Snyk Cli","versions":["< 1.1294.0"]},{"vendor":"Snyk","product":"Snyk Gradle Plugin","versions":["< 4.5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-10-24T13:45:04.218805Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"snyk-gradle-plugin","vulnerableRanges":["<4.5.0"],"patched":["4.5.0"],"from":["GHSA-qqqw-gm93-qf6m"],"provenance":"source"}],"summary":{"text":"The Snyk CLI, in versions before 1.1294.0, contains a code injection flaw in its handling of the current working directory name when scanning Gradle projects. An attacker can exploit it by getting a victim to run snyk test inside a malicious, untrusted Gradle project, which requires user interaction and no prior authentication or special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:20Z"},"euvd":{"id":"EUVD-2024-3120","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-snyk-cli-cve-2022-40764","parents":[{"from":"CVE-2022-22984","to":"CVE-2024-48964","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/index.ts","lib/sub-process.ts"],"commits":["https://github.com/snyk/snyk-gradle-plugin/commit/bb1c1c72a75e97723a76b14d2d73f70744ed5009","https://github.com/snyk/snyk-gradle-plugin/commit/2f5ee7579f00660282dd161a0b79690f4a9c865d"],"basis":"shared function","functions":["execute","getCommand"]},{"kind":"similar","provenance":"machine","score":0.45,"basis":"same package + description similarity"}]}]}}