Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
aider 0.86.2 Remote Code Execution via .aider.conf.yml
Vulnerability Description
aider (aider-chat) automatically loads a .aider.conf.yml configuration file from the root of the git repository it is launched in. A crafted repository can set test-cmd (executed at startup) or lint-cmd (executed on the first file edit), which aider runs through a shell (subprocess with shell=True) without any user confirmation, LLM interaction, or API key. Consequently, a user who clones and runs aider inside an attacker-supplied repository achieves arbitrary command execution on their machine. The behavior is long-standing and was confirmed on 0.86.3.dev (current main).
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Vulnerability Title
Aider AI aider 代码注入漏洞
Vulnerability Description
Aider AI aider是美国Aider AI组织的一款命令行AI编程助手。 Aider AI aider 0.86.2及之前版本存在代码注入漏洞,该漏洞源于从Git仓库根目录自动加载.aider.conf.yml配置文件,特制仓库可设置test-cmd或lint-cmd并通过shell执行,可能导致用户克隆并运行aider时能够执行任意命令。
CVSS Information
N/A
Vulnerability Type
N/A