GitHub Advisoryadvisory · Go
GHSA-6m4h-hfpp-x8cx docconv OS Command Injection vulnerability
CRITICAL
Official page ↗
- Aliases
- CVE-2022-4643
- Ecosystem
- Go
- Packages
- github.com/sajari/docconv, code.sajari.com/docconv
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
- Reviewed
- 2022-12-30
Affected packages
• Go github.com/sajari/docconv: < 1.2.1 → fixed in 1.2.1
• Go code.sajari.com/docconv: >= 1.1.0, < 1.3.5 → fixed in 1.3.5
Description
A vulnerability was found in docconv prior to version 1.2.1. 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 can 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.
Related
Alias · CVE (1)
- CVE-2022-4643 A vulnerability was found in docconv up to 1.2.0. vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-4643 advisory
- https://github.com/sajari/docconv/pull/110 web
- https://github.com/sajari/docconv/commit/b19021ade3d0b71c89d35cb00eb9e589a121faa5 web
- https://github.com/sajari/docconv package
- https://github.com/sajari/docconv/releases/tag/v1.2.1 web
- https://github.com/sajari/docconv/releases/tag/v1.3.5 web
- https://pkg.go.dev/vuln/GO-2022-1184 web
- https://vuldb.com/?id.216502 web