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
Ruby LSP has arbitrary code execution through branch setting
Vulnerability Description
Ruby LSP is an implementation of the language server protocol for Ruby. Prior to Shopify.ruby-lsp version 0.10.2 and ruby-lsp version 0.26.9, the rubyLsp.branch VS Code workspace setting was interpolated without sanitization into a generated Gemfile, allowing arbitrary Ruby code execution when a user opens a project containing a malicious .vscode/settings.json. This issue has been patched in Shopify.ruby-lsp version 0.10.2 and ruby-lsp version 0.26.9.
CVSS Information
N/A
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Vulnerability Title
Ruby LSP 代码注入漏洞
Vulnerability Description
Ruby LSP是Shopify开源的一个Ruby语言服务器,提供代码补全和调试功能。 Ruby LSP 0.10.2之前版本和0.26.9之前版本存在代码注入漏洞,该漏洞源于rubyLsp.branch VS Code工作区设置未经清理即插入生成的Gemfile,可能导致执行任意Ruby代码。
CVSS Information
N/A
Vulnerability Type
N/A