turkdevops / grafana

The tool for beautiful monitoring and metric analytics & dashboards for Graphite, InfluxDB & Prometheus & More
https://grafana.com
Apache License 2.0
1 stars 0 forks source link

CVE-2022-24433 (High) detected in simple-git-1.126.0.tgz - autoclosed #579

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

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

CVE-2022-24433 - High Severity Vulnerability

Vulnerable Library - simple-git-1.126.0.tgz

Simple GIT interface for node.js

Library home page: https://registry.npmjs.org/simple-git/-/simple-git-1.126.0.tgz

Dependency Hierarchy: - lint-staged-8.1.5.tgz (Root Library) - g-status-2.0.2.tgz - :x: **simple-git-1.126.0.tgz** (Vulnerable Library)

Found in HEAD commit: a1c271764655c7e3ff81126d5929b8dda6170bf4

Found in base branch: datasource-meta

Vulnerability Details

The package simple-git before 3.3.0 are vulnerable to Command Injection via argument injection. When calling the .fetch(remote, branch, handlerFn) function, both the remote and branch parameters are passed to the git fetch subcommand. By injecting some git options it was possible to get arbitrary command execution.

Publish Date: 2022-03-11

URL: CVE-2022-24433

CVSS 3 Score Details (9.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - 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/advisories/GHSA-3f95-r44v-8mrg

Release Date: 2022-03-11

Fix Resolution (simple-git): 3.3.0

Direct dependency fix Resolution (lint-staged): 9.0.0


Step up your Open Source Security Game with Mend here