CVE-2020-37279 easy-pdf-merge 0.1.0 through 0.2.6 OS Command Injection via merge function
CriticalCVSS 9.2
EPSS 1.9%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
easy-pdf-merge 0.1.0 through 0.2.6 contains an OS command injection vulnerability that allows attackers to execute commands by injecting shell metacharacters into source paths, destination path, or maxHeap option. Attackers can supply file names or options containing double quotes, semicolons, $() or backticks, which child_process.exec() runs through a shell with the Node.js process privileges.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm easy-pdf-merge | >= 0.1.0, <= 0.2.6 | after 0.2.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm easy-pdf-merge | >= 0.1.0, <= 0.2.6 | No fix listed |
References
- GitHub Pull Request #28 exploit issue-tracking patch
- GitHub Pull Request #45 issue-tracking patch
- Vulnerable code in PDFMerger.js technical-description
- github.com product
- VulnCheck Advisory: easy-pdf-merge 0.1.0 through 0.2.6 OS Command Injection via merge function third-party-advisory
- ENISA EUVD EUVD-2020-31276 third-party-advisory