Arbitrary Command Execution Vulnerability in Goose Review
Article Content
- •Goose Review is vulnerable to arbitrary command execution via malicious git repository configurations.
- •The vulnerability was reported as GHSA-6mg9-3cvh-9939 and affects users running git diff commands.
- •A pull request has been made to mitigate the risk by disabling external diff drivers.
A vulnerability in Goose Review allows arbitrary command execution via the diff.external configuration in git repositories. This issue, reported as GHSA-6mg9-3cvh-9939, affects users running Goose Review against untrusted repositories. The flaw arises because the git_command() and review_git_command() functions do not disable the diff.external setting, allowing malicious commands to execute during git diff operations. A pull request (PR 12537) has been submitted to address this issue by adding safeguards against external diff drivers and ensuring the --no-ext-diff flag is used. The vulnerability poses a risk to users who may inadvertently run commands from untrusted repositories. The fix has been implemented and confirmed by tests, but users are advised to remain cautious. Current status indicates that the issue has been patched, and no has been reported.
Ask AI about this cluster
Answers cite the sources they use