Vulnerability · Published Dec 21, 2022 · Assigned by VulDB
CVE-2022-4643docconv pdf_ocr.go ConvertPDFImages os command injection
Medium 6.3
In plain English
A medium-severity OS command injection in docconv. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | code.sajari.com/docconv | 1.3.5 | GHSA-6m4h-hfpp-x8cx |
| Go | code.sajari.com/docconv | 1.3.5 | GO-2022-1184 |
| Go | github.com/sajari/docconv | 1.2.1 | GHSA-6m4h-hfpp-x8cx |
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
References
- https://vuldb.com/?id.216502 technical-description, vdb-entry
- https://github.com/sajari/docconv/pull/110 related
- https://github.com/sajari/docconv/commit/b19021ade3d0b71c89d35cb00eb9e589a121faa5 mitigation, patch
- https://github.com/sajari/docconv/releases/tag/v1.2.1 mitigation