Advisory

GHSA-6m4h-hfpp-x8cx

Also known as: CVE-2022-4643, GO-2022-1184

Summary

docconv OS Command Injection vulnerability

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-12-22 00:30 UTC
Modified
2024-05-20 21:42 UTC

Affected packages and fixes

github.com/sajari/docconv

Go · All systems

Affected

  • introduced 0, fixed 1.2.1 (semver)

Fixed versions

1.2.1

Fix

code.sajari.com/docconv

Go · All systems

Affected

  • introduced 1.1.0, fixed 1.3.5 (semver)

Fixed versions

1.3.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences