Rsbuild < 2.0.9 Command Injection via openBrowser() URL Handling
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| web-infra-dev | rsbuild | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web-infra-dev | Rsbuild |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.7% (1.680% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Web-infra-dev
Web-infra-dev rsbuild |
|
| Vendors & Products |
Web-infra-dev
Web-infra-dev rsbuild |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Rsbuild before 2.0.9 contains a command injection vulnerability that allows attackers to execute arbitrary OS commands by supplying a crafted URL containing shell metacharacters to the server.open configuration on macOS. The openBrowser() function in packages/core/src/server/open.ts passes the URL through encodeURI() before interpolating it into a shell command executed via child_process.exec(), but because encodeURI() does not encode dollar signs, parentheses, or semicolons, embedded shell metacharacters are evaluated by /bin/sh, enabling arbitrary command execution. | |
| Title | Rsbuild < 2.0.9 Command Injection via openBrowser() URL Handling | |
| Weaknesses | CWE-78 | |
| References |
| |
| Metrics |
cvssV3_1
|