{"id":"CVE-2021-23326","state":"PUBLISHED","title":"Command Injection","description":"This affects the package @graphql-tools/git-loader before 6.2.6. The use of exec and execSync in packages/loaders/git/src/load-git.ts allows arbitrary command injection.","publishedAt":"2021-01-20T12:30:15.626Z","updatedAt":"2024-09-17T02:15:33.530Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","source":"snyk"},"assigner":"snyk","products":["n/a @graphql-tools/git-loader"],"affected":[{"vendor":"n/a","product":"@graphql-tools/git-loader","versions":[{"version":"unspecified","status":"affected","lessThan":"6.2.6","versionType":"custom"}]}],"references":["https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543","https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac","https://github.com/ardatan/graphql-tools/pull/2470","https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6","https://advisory.checkmarx.net/advisory/CX-2020-4300"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:04.982Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/23xxx/CVE-2021-23326.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-23326","state":"PUBLISHED","datePublished":"2021-01-20T12:30:15.626Z","dateUpdated":"2024-09-17T02:15:33.530Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2021-01-08T00:00:00.000Z"},"containers":{"cna":{"title":"Command Injection","descriptions":[{"lang":"en","value":"This affects the package @graphql-tools/git-loader before 6.2.6. The use of exec and execSync in packages/loaders/git/src/load-git.ts allows arbitrary command injection."}],"affected":[{"vendor":"n/a","product":"@graphql-tools/git-loader","versions":[{"version":"unspecified","status":"affected","lessThan":"6.2.6","versionType":"custom"}]}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543","tags":["x_refsource_MISC"]},{"url":"https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac","tags":["x_refsource_MISC"]},{"url":"https://github.com/ardatan/graphql-tools/pull/2470","tags":["x_refsource_MISC"]},{"url":"https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6","tags":["x_refsource_MISC"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2020-4300","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Command Injection","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2021-03-30T18:37:04.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"Dotan Simha"}],"datePublic":"2021-01-20T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2021-01-20T12:25:48.608630Z","ID":"CVE-2021-23326","STATE":"PUBLIC","TITLE":"Command Injection"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"@graphql-tools/git-loader","version":{"version_data":[{"version_affected":"<","version_value":"6.2.6"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"Dotan Simha"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"This affects the package @graphql-tools/git-loader before 6.2.6. The use of exec and execSync in packages/loaders/git/src/load-git.ts allows arbitrary command injection."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Command Injection"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543"},{"name":"https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac","refsource":"MISC","url":"https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac"},{"name":"https://github.com/ardatan/graphql-tools/pull/2470","refsource":"MISC","url":"https://github.com/ardatan/graphql-tools/pull/2470"},{"name":"https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6","refsource":"MISC","url":"https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6"},{"name":"https://advisory.checkmarx.net/advisory/CX-2020-4300","refsource":"MISC","url":"https://advisory.checkmarx.net/advisory/CX-2020-4300"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/ardatan/graphql-tools/pull/2470","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2020-4300","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:05:55.563Z"}}]}}}