Rsbuild < 2.0.9 Command Injection via openBrowser() URL Handling
21Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 7.1epss 1.6%
probabilidade de exploração
1.6%top 25% das CVEs
exploração observada
nãonenhuma fonte reporta
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.
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Produtos afetados
web-infra-dev · rsbuildReferências
https://github.com/web-infra-dev/rsbuild/commit/c1e2aebd6b1bbdaece15265572c3284f934b674dhttps://github.com/web-infra-dev/rsbuild/pull/7789https://github.com/web-infra-dev/rsbuild/releases/tag/v2.0.9https://www.vulncheck.com/advisories/rsbuild-command-injection-via-openbrowser-url-handling