CVE-2022-4643
vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2022-4643) was discovered in docconv versions up to 1.2.0. The vulnerability affects the ConvertPDFImages function in the pdf_ocr.go file, where manipulation of the path argument can lead to OS command injection. This remote code execution vulnerability was disclosed on December 21, 2022 (NVD).

Technical details

The vulnerability is classified as an OS Command Injection (CWE-78) with a CVSS v3.1 base score of 9.8 (CRITICAL). The attack vector is network-accessible (AV:N), requires low attack complexity (AC:L), needs no privileges (PR:N), and requires no user interaction (UI:N). The scope is unchanged (S:U) with high impacts on confidentiality, integrity, and availability (C:H/I:H/A:H) (NVD).

Impact

If exploited, this vulnerability allows attackers to execute arbitrary OS commands remotely through the manipulation of the path argument in the ConvertPDFImages function. This could lead to complete system compromise with high impacts on confidentiality, integrity, and availability of the affected system (NVD).

Mitigation and workarounds

The vulnerability has been fixed in version 1.2.1 of docconv. The patch (commit b19021ade3d0b71c89d35cb00eb9e589a121faa5) implements proper shell escaping for the path argument. Users are strongly recommended to upgrade to version 1.2.1 or later to address this security issue (GitHub Release, GitHub Commit).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management