Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nodepdf Project | Nodepdf | 1.3.0 |
Related Weaknesses (CWE)
References
- https://lf.lc/cve/cve-2016-4991/ExploitThird Party Advisory
- https://lf.lc/cve/cve-2016-4991/ExploitThird Party Advisory
FAQ
What is CVE-2016-4991?
CVE-2016-4991 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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, semicolo...
How severe is CVE-2016-4991?
CVE-2016-4991 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2016-4991?
Check the references section above for vendor advisories and patch information. Affected products include: Nodepdf Project Nodepdf.