Ruby LSP has arbitrary code execution through branch setting
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Shopify | ruby-lsp | affected |
|
||||||
| Shopify | Shopify.ruby-lsp | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Shopify | Ruby-lsp |
|
||||||||
| Shopify | Shopify.ruby-lsp |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-c4r5-fxqw-vh93 | Ruby LSP has arbitrary code execution through branch setting |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.497% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Shopify ruby Lsp
|
|
| CPEs | cpe:2.3:a:shopify:ruby_lsp:*:*:*:*:*:ruby:*:* cpe:2.3:a:shopify:ruby_lsp:*:*:*:*:*:visual_studio_code:*:* |
|
| Vendors & Products |
Shopify ruby Lsp
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Shopify
Shopify ruby-lsp Shopify shopify.ruby-lsp |
|
| Vendors & Products |
Shopify
Shopify ruby-lsp Shopify shopify.ruby-lsp |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Ruby LSP has arbitrary code execution through branch setting | |
| Weaknesses | CWE-94 | |
| References |
| |
| Metrics |
cvssV4_0
|