漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Roslyn CodeLens MCP Server: Untrusted Roslyn Analyzer Execution via get_diagnostics Leads to Arbitrary Code Execution
Vulnerability Description
Roslyn CodeLens MCP Server is a Roslyn-based MCP server providing semantic code intelligence for .NET codebases. From 0.0.9 to 1.17.0, the get_diagnostics MCP tool loads and executes all DiagnosticAnalyzer assemblies referenced by the target solution without any allowlist, signature check, or user confirmation; includeAnalyzers defaults to true, so no explicit opt-in is required. An attacker who can place a malicious .csproj referencing an attacker-controlled DLL in a location the victim opens with the MCP server will achieve arbitrary code execution in the server process with the server's OS privileges. This vulnerability is fixed in 1.17.0.
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
Roslyn CodeLens MCP Server 安全漏洞
Vulnerability Description
Roslyn CodeLens MCP Server是Marcel Roozekrans个人开发者的一个基于Roslyn的.NET代码库深度语义分析工具。 Roslyn CodeLens MCP Server 0.0.9至1.17.0版本存在安全漏洞,该漏洞源于get_diagnostics工具加载并执行目标解决方案引用的所有DiagnosticAnalyzer程序集,无允许列表、签名检查或用户确认,可能导致攻击者放置恶意DLL实现任意代码执行。
CVSS Information
N/A
Vulnerability Type
N/A