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 shescape
to version 2.1.2 or higher.
shescape is a simple shell escape library
Affected versions of this package are vulnerable to Information Exposure due to the configuration of shell
parameter. An attacker can gain read-only access to environment variables by manipulating input parameters such as quote
, quoteAll
, escape
, or escapeAll
.
Note: This is only exploitable if the attacker is a user of Shescape on Windows that explicitly configures shell: cmd.exe
or shell: true
using any of quote/quoteAll/escape/escapeAll
.
This vulnerability can be mitigated by removing all instances of %
from user input before using Shescape.