turkdevops / sourcegraph

Universal code search (self-hosted)
https://sourcegraph.com
Other
1 stars 0 forks source link

CVE-2021-23326 (High) detected in git-loader-6.2.5.tgz - autoclosed #107

Closed mend-bolt-for-github[bot] closed 3 years ago

mend-bolt-for-github[bot] commented 3 years ago

CVE-2021-23326 - High Severity Vulnerability

Vulnerable Library - git-loader-6.2.5.tgz

A set of utils for faster development of GraphQL tools

Library home page: https://registry.npmjs.org/@graphql-tools/git-loader/-/git-loader-6.2.5.tgz

Path to dependency file: sourcegraph/yarn.lock

Path to vulnerable library: sourcegraph/yarn.lock,sourcegraph/vendor/github.com/sourcegraph/sourcegraph/yarn.lock

Dependency Hierarchy: - cli-1.19.4.tgz (Root Library) - :x: **git-loader-6.2.5.tgz** (Vulnerable Library)

Found in HEAD commit: 8e6dcc959a8da3ef2f57bd4d9c7bec845ef98082

Found in base branch: 3.0

Vulnerability Details

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.

Publish Date: 2021-01-20

URL: CVE-2021-23326

CVSS 3 Score Details (8.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6

Release Date: 2021-01-20

Fix Resolution: @graphql-tools/git-loader@6.2.6


Step up your Open Source Security Game with WhiteSource here

mend-bolt-for-github[bot] commented 3 years ago

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.