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.
Remediation
References
https://advisory.checkmarx.net/advisory/CX-2020-4300
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://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543
Related Vulnerabilities
CVE-2020-23814 Vulnerability in maven package com.xuxueli:xxl-job
CVE-2023-46497 Vulnerability in npm package @evershop/evershop
CVE-2019-10243 Vulnerability in maven package org.eclipse.kura:org.eclipse.kura.jetty.customizer
CVE-2018-1999032 Vulnerability in maven package org.jenkins-ci.plugins:pangolin-testrail-connector
CVE-2020-7686 Vulnerability in npm package rollup-plugin-dev-server