docconv pdf_ocr.go ConvertPDFImages os command injection
docconv
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/sajari/docconv Go |
|
|
| code.sajari.com/docconv Go |
|
|
docconv
| Product | Affected | Fixed in |
|---|---|---|
| github.com/sajari/docconv Go |
|
|
| code.sajari.com/docconv Go |
|
|
A vulnerability was found in docconv up to 1.2.0. It has been declared as critical. This vulnerability affects the function ConvertPDFImages of the file pdf_ocr.go. The manipulation of the argument path leads to os command injection. The attack can be initiated remotely. Upgrading to version 1.2.1 is able to address this issue. The name of the patch is b19021ade3d0b71c89d35cb00eb9e589a121faa5. It is recommended to upgrade the affected component. VDB-216502 is the identifier assigned to this vulnerability.
From the CVE record · VulDB
The ConvertPDFImages function in docconv's pdf_ocr.go is vulnerable to OS command injection through its path argument. An attacker can initiate the attack remotely; the input does not specify whether authentication or user interaction is required.
Check deployments using Go package github.com/sajari/docconv before 1.2.1 or code.sajari.com/docconv from 1.1.0 up to, but not including, 1.3.5.