CVE-2022-4643
docconv pdf_ocr.go ConvertPDFImages os command injection
- Published
- Updated
- Reserved
- Assigned by
- VulDB
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| VulDBCNA (assigner) | 3.1 | Medium6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| VulDBCNA (assigner) | 3.0 | Medium6.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.8% · top 21% of all CVEs (5 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Weakness
Affected products
docconv
- affected 1.0
- affected 1.1
- affected 1.2
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gocode.sajari.com/docconvGHSA-6m4h-hfpp-x8cx (opens in a new tab)
- Gogithub.com/sajari/docconvGHSA-6m4h-hfpp-x8cx (opens in a new tab)
References (4)
- https://vuldb.com/?id.216502 (opens in a new tab)technical-descriptionvdb-entryx_transferred
- https://github.com/sajari/docconv/pull/110 (opens in a new tab)relatedx_transferred
- https://github.com/sajari/docconv/commit/b19021ade3d0b71c89d35cb00eb9e589a121faa5 (opens in a new tab)mitigationpatchx_transferred
- https://github.com/sajari/docconv/releases/tag/v1.2.1 (opens in a new tab)mitigationx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-6m4h-hfpp-x8cx (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-4643)Record last updated .