CyberRota Analysis
AI-GeneratedThe "s init" command in Serverless-Devs versions up to 3.1.11 is vulnerable to OS command injection due to the unsanitized user input passed to child_process.spawn() with shell: true, which can be exploited by providing a URL ending in ".git". This vulnerability allows an attacker to execute arbitrary commands on the host system when a user runs "s init" with a malicious argument. Organizations using affected versions should prioritize patching this issue to mitigate potential security risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
The "s init" command in Serverless-Devs @serverless-devs/s <= 3.1.11 passes unsanitized user input to child_process.spawn() with shell: true. A URL ending in ".git" bypasses the only input check, allowing OS command injection when a user runs "s init" with an attacker-controlled argument.