We found results for “”
WS-2022-0086
Good to know:
Date: February 11, 2022
GitHub CLI depends on a git.exe executable being found in system %PATH% on Windows. However, if a malicious .\git.exe or .\git.bat is found in the current working directory at the time of running gh, the malicious command will be invoked instead of the system one. Other than avoiding untrusted repositories, there is no workaround. Windows users who run gh inside untrusted directories are affected. Users should upgrade to GitHub CLI v1.2.1.
Language: Go
Severity Score
Severity Score
Weakness Type (CWE)
OS Command Injections
CWE-78Top Fix
CVSS v3.1
Base Score: |
|
---|---|
Attack Vector (AV): | LOCAL |
Attack Complexity (AC): | HIGH |
Privileges Required (PR): | NONE |
User Interaction (UI): | NONE |
Scope (S): | UNCHANGED |
Confidentiality (C): | HIGH |
Integrity (I): | HIGH |
Availability (A): | HIGH |