Aiderで悪意ある設定ファイルによりOSコマンドを実行される恐れ
Summary
Aider 0.86.2 以前では、悪意ある .aider.conf.yml をコミットされると、信頼確認なしに読み込まれ、攻撃者が被害者の権限でシェルコマンドを実行できるおそれがあります。通知コマンドやエディタの設定が、モデルの応答後や /editor の利用時に実行されます。修正版の有無は現時点で確認できていないため、最新の情報を確認してください。
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.
Aider 0.86.2 以前では、悪意ある .aider.conf.yml をコミットされると、信頼確認なしに読み込まれ、攻撃者が被害者の権限でシェルコマンドを実行できるおそれがあります。通知コマンドやエディタの設定が、モデルの応答後や /editor の利用時に実行されます。修正版の有無は現時点で確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Aider-AIaider |
≤ 0.86.2→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Aider through 0.86.2 contains a command execution vulnerability that allows attackers to run shell commands by committing a malicious .aider.conf.yml that is auto-loaded without a trust prompt. Attackers can set notifications-command or editor values that are executed via subprocess with shell=True after model replies or /editor use, running commands with the victim's privileges.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- report github.com
- web github.com
- web github.com
- web github.com
- web github.com