| Package | Affected versions | Patched versions |
|---|---|---|
| tesseract ocr | ≤ 2.2.1 | |
| node-tesseract-ocr | ≤ 2.2.1 |
node-tesseract-ocr is an npm package that provides a Node.js wrapper for Tesseract OCR. In all versions through 2.2.1, the recognize() function in src/index.js is vulnerable to OS Command Injection. The file path parameter is concatenated into a shell command string and passed to child_process.exec() without proper sanitization
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free