CVE-2020-37282
criticaloffice-converter through 1.0.2 contains an OS command injection vulnerability that allows attackers to execute commands by supplying a crafted fileName to gene…
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/advisories/GHSA-9p64-h5q4-phpm disclosure@vulncheck.com
- https://github.com/vworld4u/office-converter/blob/b1ea855d0001dc7a5d66343698634dbc06b72c2d... disclosure@vulncheck.com
- https://github.com/vworld4u/office-converter/pull/9 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/office-converter-through-1.0.2-os-command-injection-v... disclosure@vulncheck.com
- https://github.com/vworld4u/office-converter/pull/9 134c704f-9b21-4f2e-91b3-4a467353bcc0
