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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
karuppiah7890 easy-pdf-merge
Default version status: unaffected
0.1.0 to ≤ 0.2.6affected
pkg:npm/easy-pdf-mergeReferences
- https://github.com/karuppiah7890/easy-pdf-merge/pull/28 ↗
- https://github.com/karuppiah7890/easy-pdf-merge/pull/45 ↗
- https://github.com/karuppiah7890/easy-pdf-merge/blob/v0.2.6/source/lib/PDFMerger.js#L71-L75 ↗
- https://github.com/karuppiah7890/easy-pdf-merge ↗
- https://www.vulncheck.com/advisories/easy-pdf-merge-0.1.0-through-0.2.6-os-command-injection-via-merge-function ↗