CyberRota Analysis
AI-GeneratedA vulnerability exists in the MongoDB extension for Visual Studio Code, where special characters in a user-supplied connection string are not properly sanitized before being executed in the integrated terminal. This flaw allows an unauthenticated remote attacker to manipulate the command line by convincing a developer to input a malicious connection target, potentially leading to command injection. Developers using this extension should prioritize addressing this issue to mitigate the risk of unauthorized command execution on their systems.
Original NVD Description
A component of the MongoDB extension for Visual Studio Code does not neutralize special characters in a connection string before that value is placed into a command line the extension composes for an integrated terminal. An unauthenticated remote unauthorized-user who persuades a developer to accept a user-supplied connection target, and then to open the extension's shell feature, can place characters of the unauthorized-user’s choosing into that command line. No privileges on the developer's machine are required, but several user actions are. The confirmation the developer sees does not display the supplied text.
Related CVEs
Other vulnerabilities affecting the same vendor(s)