git-diff before 2.0.7 OS Command Injection via gitDiff Input Strings
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| danday74 | git-diff | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Danday74 | Git-diff |
|
||||||||
| Git-diff-apply Project | Git-diff-apply |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-6wfj-92cw-88vg | git-diff: OS command injection vulnerability via crafted strings to the gitDiff API |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 2.3% (2.348% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Danday74
Danday74 git-diff |
|
| Vendors & Products |
Danday74
Danday74 git-diff |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | git-diff before 2.0.7 contains an OS command injection vulnerability that allows attackers to execute shell commands by supplying crafted strings to the gitDiff API. Attackers who control a diffed document string can embed $(cmd) or backtick substitutions that shelljs.exec evaluates, running commands with Node.js process privileges. | |
| Title | git-diff before 2.0.7 OS Command Injection via gitDiff Input Strings | |
| First Time appeared |
Git-diff-apply Project
Git-diff-apply Project git-diff-apply |
|
| Weaknesses | CWE-78 | |
| CPEs | cpe:2.3:a:git-diff-apply_project:git-diff-apply:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Git-diff-apply Project
Git-diff-apply Project git-diff-apply |
|
| References |
|
|
| Metrics |
cvssV3_1
|