{"id":"CVE-2022-24066","state":"PUBLISHED","title":"Command Injection","description":"The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of [CVE-2022-24433](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199) which only patches against the git fetch attack vector. A similar use of the --upload-pack feature of git is also supported for git clone, which the prior fix didn't cover.","publishedAt":"2022-04-01T20:00:16.930Z","updatedAt":"2024-09-16T21:08:34.077Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"snyk"},"assigner":"snyk","products":["n/a simple-git"],"affected":[{"vendor":"n/a","product":"simple-git","versions":[{"version":"unspecified","status":"affected","lessThan":"3.5.0","versionType":"custom"}]}],"references":["https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820","https://gist.github.com/lirantal/a930d902294b833514e821102316426b","https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:43.915Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/24xxx/CVE-2022-24066.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-24066","state":"PUBLISHED","datePublished":"2022-04-01T20:00:16.930Z","dateUpdated":"2024-09-16T21:08:34.077Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2022-02-24T00:00:00.000Z"},"containers":{"cna":{"title":"Command Injection","descriptions":[{"lang":"en","value":"The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of [CVE-2022-24433](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199) which only patches against the git fetch attack vector. A similar use of the --upload-pack feature of git is also supported for git clone, which the prior fix didn't cover."}],"affected":[{"vendor":"n/a","product":"simple-git","versions":[{"version":"unspecified","status":"affected","lessThan":"3.5.0","versionType":"custom"}]}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/lirantal/a930d902294b833514e821102316426b","tags":["x_refsource_MISC"]},{"url":"https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Command Injection","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2022-04-01T20:00:16.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"Liran Tal"}],"datePublic":"2022-04-01T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-04-01T20:00:01.776777Z","ID":"CVE-2022-24066","STATE":"PUBLIC","TITLE":"Command Injection"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"simple-git","version":{"version_data":[{"version_affected":"<","version_value":"3.5.0"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"Liran Tal"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of [CVE-2022-24433](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199) which only patches against the git fetch attack vector. A similar use of the --upload-pack feature of git is also supported for git clone, which the prior fix didn't cover."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Command Injection"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306"},{"name":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820"},{"name":"https://gist.github.com/lirantal/a930d902294b833514e821102316426b","refsource":"MISC","url":"https://gist.github.com/lirantal/a930d902294b833514e821102316426b"},{"name":"https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5","refsource":"MISC","url":"https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://gist.github.com/lirantal/a930d902294b833514e821102316426b","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T03:59:23.718Z"}}]}}}