CVE-2021-44685: Git-it - Command Injection
- Cve: CVE-2021-44685
- Name: Git-it - Command Injection
- Description: Git-it through 4.4.0 allows OS command injection at the Branches Aren't Just For Birds challenge step. During the verification process, it attempts to run the reflog command followed by the current branch name (which is not sanitized for execution).
- Impact: Attackers can execute arbitrary OS commands on the host system, potentially leading to full system compromise.
- Remediation: Update to version 4.4.1 or later to sanitize branch name inputs.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to control branch name
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03374
- Epss percentile: 0.88975
- Assignee: [email protected]
- Published at: 2021-12-07T00:15:08Z
- Age in days: 1813
- Modified at: 2026-06-17T04:12:41Z
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-44685
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/dwisiswant0/advisory/issues/3 | nvd | 2021-12-07 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/dwisiswant0/advisory/issues/3 | nvd | Exploit, Issue Tracking, Third Party Advisory |
| https://github.com/jlord/git-it-electron/releases | nvd | Release Notes, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| git-it_project:git-it | <= 4.4.0 | no | nvd | /v1/products/git-it_project/git-it |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| jlord/git-it-electron | package, releases | yes | /v1/repositories/jlord/git-it-electron |
| dwisiswant0/advisory | issues | yes | /v1/repositories/dwisiswant0/advisory |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-12-07
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts