Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. code.sajari.com/docconv
  4. ›
  5. CVE-2022-4643

CVE-2022-4643: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

December 22, 2022 (updated February 7, 2023)

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.

References

  • github.com/advisories/GHSA-6m4h-hfpp-x8cx
  • github.com/sajari/docconv/commit/b19021ade3d0b71c89d35cb00eb9e589a121faa5
  • github.com/sajari/docconv/pull/110
  • github.com/sajari/docconv/releases/tag/v1.2.1
  • github.com/sajari/docconv/releases/tag/v1.3.5
  • nvd.nist.gov/vuln/detail/CVE-2022-4643
  • pkg.go.dev/vuln/GO-2022-1184
  • vuldb.com/?id.216502

Code Behaviors & Features

Detect and mitigate CVE-2022-4643 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.1.0 before 1.3.5

Fixed versions

  • 1.3.5

Solution

Upgrade to version 1.3.5 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

go/code.sajari.com/docconv/CVE-2022-4643.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:03 +0000.