Goose CLIに任意のコマンドを実行される脆弱性、修正版は1.53.0
Summary
Goose CLIの1.35.0以上1.53.0未満に、悪意あるリポジトリを開くと任意のコマンドを実行される脆弱性があります。gooseレビューの実行時にgit diffが外部コマンドを起動し、利用者の権限で動作するため、認証情報やAPIキーが漏えいするおそれがあります。修正版は1.53.0です。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Goose CLIの1.35.0以上1.53.0未満に、悪意あるリポジトリを開くと任意のコマンドを実行される脆弱性があります。gooseレビューの実行時にgit diffが外部コマンドを起動し、利用者の権限で動作するため、認証情報やAPIキーが漏えいするおそれがあります。修正版は1.53.0です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| aaif-goosegoose |
≥ 1.35.0, < 1.53.0→ 1.53.0 |
1.53.0 |
Original description The description as published by the source.
Goose CLI 1.35.0 before 1.53.0 contains a local code execution vulnerability that allows attackers to run commands by setting diff.external in a repository's .git/config. Attackers can ship a crafted repository that, when the victim runs goose review, executes git diff without --no-ext-diff, running commands as the user and exposing credentials and provider API keys.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- report github.com
- web github.com
- web github.com