CodeWhale before 0.8.64 Argument Injection via git_blame
Hmbown CodeWhale
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| deepseek-tui crates.io |
| No fix yet |
| deepseek-tui npm |
|
|
| codewhale-tui crates.io |
|
Hmbown CodeWhale
| Product | Affected | Fixed in |
|---|---|---|
| deepseek-tui crates.io |
| No fix yet |
| deepseek-tui npm |
|
|
| codewhale-tui crates.io |
|
|
| codewhale npm |
|
|
CodeWhale versions before 0.8.64 contain an argument injection vulnerability in the git_blame tool that allows attackers to read arbitrary files by injecting git options into the unvalidated rev parameter. Attackers can supply rev values like --contents=/path/to/file to exfiltrate sensitive files such as SSH keys and credentials through the tool output returned to the model.
From the CVE record · VulnCheck
The git_blame tool does not validate its rev parameter before passing it to git. An attacker who can supply a rev value can inject git options to read sensitive files, with their contents returned in the tool output.
Check installations of npm deepseek-tui >=0.3.27 and <0.8.41, npm codewhale >=0.8.41 and <0.8.64, crates.io codewhale-tui >=0.8.41 and <0.8.64, or crates.io deepseek-tui >=0.3.27 and <=0.8.41.