CVE-2023-26155
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.08%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.08% probability · 80th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78, CWE-77
- Affected
- nrhirani/node-qpdf
- Source
- report@snyk.io
References
- https://github.com/nrhirani/node-qpdf/issues/23Exploit, Issue Tracking
- https://security.snyk.io/vuln/SNYK-JS-NODEQPDF-5747918Exploit, Third Party Advisory
- https://github.com/nrhirani/node-qpdf/issues/23Exploit, Issue Tracking
- https://security.snyk.io/vuln/SNYK-JS-NODEQPDF-5747918Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.