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-2022-37199 Vulnerability in maven package com.jflyfox:jflyfox_jfinal
CVE-2020-4076 Vulnerability in maven package org.webjars.npm:electron
CVE-2021-46364 Vulnerability in maven package info.magnolia:magnolia-core
CVE-2020-2258 Vulnerability in maven package org.jenkins-ci.plugins:cloudbees-jenkins-advisor
CVE-2022-46907 Vulnerability in maven package org.apache.jspwiki:jspwiki-main