Skip to content
Heist/ feed
Critical

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2020-37282

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2020-37282

office-converter

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/vworld4u/office-converter",
    "vendor": "vworld4u",
    "product": "office-converter",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "versionType": "semver",
        "lessThanOrEqual": "1.0.2"
      }
    ],
    "packageURL": "pkg:npm/office-converter",
    "collectionURL": "https://www.npmjs.com/package/office-converter",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2020-37282

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#21972 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement