Description
All versions of the package node-qpdf are vulnerable to Command Injection such that the package-exported method encrypt() fails to sanitize its parameter input, which later flows into a sensitive command execution API. As a result, attackers may inject malicious commands once they can specify the input pdf file path.
Remediation
References
https://github.com/nrhirani/node-qpdf/issues/23
https://security.snyk.io/vuln/SNYK-JS-NODEQPDF-5747918
Related Vulnerabilities
CVE-2021-42392 Vulnerability in maven package com.h2database:h2
CVE-2021-32622 Vulnerability in npm package matrix-react-sdk
CVE-2021-26073 Vulnerability in npm package atlassian-connect-express
CVE-2022-31070 Vulnerability in npm package @ffdc/nestjs-proxy
CVE-2022-23059 Vulnerability in maven package com.shopizer:sm-shop-model