PT-2023-20534 · Node-Qpdf · Node-Qpdf
Xiao Feng
·
Published
2023-10-13
·
Updated
2023-10-23
·
CVE-2023-26155
CVSS v3.1
7.3
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
node-qpdf versions all
Description
The issue arises from the
encrypt() method failing to sanitize its parameter input, which later flows into a sensitive command execution API. This allows attackers to inject malicious commands once they can specify the input pdf file path.Recommendations
For all versions, consider disabling the
encrypt() function until a patch is available to prevent command injection attacks. Restrict access to sensitive command execution APIs to minimize the risk of exploitation. Avoid using the encrypt() method with untrusted input pdf file paths until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
OS Command Injection
Command Injection
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Node-Qpdf