Description (CNA)
GitAhead through 2.7.1 on macOS contains a command injection vulnerability that allows attackers to execute shell commands by crafting repository filenames interpolated unescaped into the Show in Finder AppleScript. Attackers can commit a file whose path contains a double quote followed by a do shell script payload, which runs as the victim user when Show in Finder is chosen.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| gitahead / gitahead | affected 0 through 2.7.1 |
CWE
CWE-78
References
- https://github.com/gitahead/gitahead/issues/663
- https://github.com/gitahead/gitahead
- https://github.com/gitahead/gitahead/blob/v2.7.1/src/tools/ShowTool.cpp#L40-L48
- https://www.vulncheck.com/advisories/gitahead-through-2.7.1-on-macos-command-injection-via-show-in-finder-applescript
ADP enrichment
No English description supplied.
No references supplied.