docconv pdf_ocr.go ConvertPDFImages os command injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | docconv | 1.0; 1.1; 1.2 | — | No fix listed | CNA |
| — | github.com/sajari/docconv (Go) | before 1.2.1 | 1.2.1 | Patch available | GHSA-6m4h-hfpp-x8cx |
| — | code.sajari.com/docconv (Go) | 1.1.0 to before 1.3.5 | 1.3.5 | Patch available | GHSA-6m4h-hfpp-x8cx |
- docconv Vendor— Affected 1.0; 1.1; 1.2 Fixed in — No fix listed CNA
- github.com/sajari/docconv (Go) Vendor— Affected before 1.2.1 Fixed in 1.2.1 Patch available GHSA-6m4h-hfpp-x8cx
- code.sajari.com/docconv (Go) Vendor— Affected 1.1.0 to before 1.3.5 Fixed in 1.3.5 Patch available GHSA-6m4h-hfpp-x8cx
Remediation
- Fix · GHSA-6m4h-hfpp-x8cx github.com/sajari/docconv (Go) Fixed in 1.2.1 Advisory →
- Fix · GHSA-6m4h-hfpp-x8cx code.sajari.com/docconv (Go) Fixed in 1.3.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-4643
- 2026-10-03 Alias added: GHSA-6m4h-hfpp-x8cx
References
Patch 3
More Search Docconv vulnerabilities
- TI-2022-04337 docconv XMLToText memory allocation CVSS 3.1MEDIUM 6.5
Sources
- CVE-2022-4643 · CVE Program
- CVE-2022-4643 · NVD
- FIRST EPSS
- GHSA-6m4h-hfpp-x8cx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences