PT-2021-15435 · Npm · @Graphql-Tools/Git-Loader
Dotan Simha
+1
·
Published
2021-01-20
·
Updated
2022-05-27
·
CVE-2021-23326
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
@graphql-tools/git-loader versions prior to 6.2.6
Description
The issue allows for arbitrary command injection due to the use of
exec and execSync in the load-git.ts file. This is a result of the package's design, which enables an attacker to inject malicious commands.Recommendations
For versions prior to 6.2.6, update to version 6.2.6 or later to resolve the issue. As a temporary workaround, consider restricting access to the
load-git.ts file or disabling the use of exec and execSync functions until a patch is applied.Fix
Command Injection
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
@Graphql-Tools/Git-Loader