Skip to content
CVE PROGRAM SOURCE RECORD9.3 Critical

CVE-2020-37282

office-converter through 1.0.2 OS Command Injection via fileName in generatePdf

Description

office-converter through 1.0.2 contains an OS command injection vulnerability that allows attackers to execute commands by supplying a crafted fileName to generatePdf() or generateHtml(). Attackers can embed $(...), backticks, or a closing quote with shell metacharacters in the file name, which is concatenated into an unoconv command run via child_process.exec(), executing commands with Node.js process privileges.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

vworld4u office-converter

Default version status: unaffected

  • 0 to ≤ 1.0.2affected
pkg:npm/office-converter

References