RCE in Nodepdf Project

CVE-2016-4991

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.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.018 (77.5th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 77th percentile — 77.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2016-4991: held from 0.017 to 0.018.

EPSS over last 30 days · oldest: 0.017 · newest: 0.018 · change: +0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2016-4991?
CVE-2016-4991 is a critical-severity vulnerability in Nodepdf Project, classified under Command Injection. CVSS score: 9.8/10. Published 2022-07-28.
How severe is CVE-2016-4991?
Critical severity. CVSS v3 base score is 9.8 out of 10.