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 applicationsLearn about Arbitrary Code Execution vulnerabilities in an interactive lesson.
Start learningUpgrade dawnsparks-node-tesseract
to version 0.4.1 or higher.
dawnsparks-node-tesseract is an A fork of a simple wrapper for the Tesseract OCR package
Affected versions of this package are vulnerable to Arbitrary Code Execution via the child_process
function due to improper input sanitization.
To exploit this vulnerability, a user must submit an image file to a Node.js application that is using "dawnsparks-node-tesseract" as a dependency to perform optical character recognition. If the user's submitted image filename contains shell commands, those will be evaluated, allowing the user to execute arbitrary commands on the application's server.
var PUT = require('dawnsparks-node-tesseract');
var user_image_filename = "; touch success;#";
try {
new PUT.process(user_image_filename,{},function(){});
} catch (e) {
console.log(e);
}