目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2023-46248— Cody 安全漏洞

一分钟漏洞结论

影响对象
sourcegraph cody
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Cody是Sourcegraph开源的一个免费的开源人工智能编码助手。可以编写和修复代码,提供人工智能生成的自动补全,并回答编码问题。 Cody 0.10.0版本至0.14.0版本存在安全漏洞,该漏洞源于容易受到远程代码执行攻击。

CVSS 9.1 · Critical EPSS 1.09% · P65
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2023-46248 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Overwrite of builtin Cody commands facilitates RCE
来源: CVE Program / CVE List V5
Vulnerability Description
Cody is an artificial intelligence (AI) coding assistant. The Cody AI VSCode extension versions 0.10.0 through 0.14.0 are vulnerable to Remote Code Execution under certain conditions. An attacker in control of a malicious repository could modify the Cody configuration file `.vscode/cody.json` and overwrite Cody commands. If a user with the extension installed opens this malicious repository and runs a Cody command such as /explain or /doc, this could allow arbitrary code execution on the user's machine. The vulnerability is rated as critical severity, but with low exploitability. It requires the user to have a malicious repository loaded and execute the overwritten command in VS Code. The issue is exploitable regardless of the user blocking code execution on a repository through VS Code Workspace Trust. The issue was found during a regular 3rd party penetration test. The maintainers of Cody do not have evidence of open source repositories having malicious `.vscode/cody.json` files to exploit this vulnerability. The issue is fixed in version 0.14.1 of the Cody VSCode extension. In case users can't promptly upgrade, they should not open any untrusted repositories with the Cody extension loaded.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
系统设置或配置在外部可控制
来源: CVE Program / CVE List V5
Vulnerability Title
Cody 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Cody是Sourcegraph开源的一个免费的开源人工智能编码助手。可以编写和修复代码,提供人工智能生成的自动补全,并回答编码问题。 Cody 0.10.0版本至0.14.0版本存在安全漏洞,该漏洞源于容易受到远程代码执行攻击。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
sourcegraph cody >= 0.10.0, < 0.14.1 -

二、漏洞 CVE-2023-46248 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2023-46248 的情报信息

请登录查看更多情报信息。

CVE-2023-46248 补丁与修复 (1)

CVE-2023-46248 厂商安全公告 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-46248

暂无评论


发表评论