node-tesseract-ocr@2.2.1

A Node.js wrapper for the Tesseract OCR API

Direct Vulnerabilities

Known vulnerabilities in the node-tesseract-ocr package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable Version
  • C
Command Injection

node-tesseract-ocr is an A Node.js wrapper for the Tesseract OCR API

Affected versions of this package are vulnerable to Command Injection via the recognize() function. An attacker can execute arbitrary system commands by supplying crafted input to the file path parameter, which is concatenated into a shell command and executed without proper sanitization.

How to fix Command Injection?

There is no fixed version for node-tesseract-ocr.

*