In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade @mongosh/cli-repl
to version 2.3.9 or higher.
@mongosh/cli-repl is a MongoDB Shell CLI REPL Package
Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') via the autocomplete feature. An attacker with control over the mongosh
autocomplete feature can manipulate the autocompletion to input and execute obfuscated malicious text by tricking a user into using the 'tab' key to complete a command.
Note:
This is only exploitable when mongosh
is connected to a cluster that is partially or fully controlled by the attacker.