Input passed to the Pdf() function is shell escaped and passed to child_process.exec() during PDF rendering. However, the shell escape does not properly encode all special characters, namely, semicolon and curly braces. This can be abused to achieve command execution. This problem affects nodepdf 1.3.0.
References
Link | Resource |
---|---|
https://lf.lc/cve/cve-2016-4991/ | Exploit Third Party Advisory |
Configurations
Information
Published : 2022-07-28 10:15
Updated : 2022-08-04 04:49
NVD link : CVE-2016-4991
Mitre link : CVE-2016-4991
JSON object : View
CWE
CWE-77
Improper Neutralization of Special Elements used in a Command ('Command Injection')
Products Affected
nodepdf_project
- nodepdf