PT-2022-6098 · Pdfkit · Pdfkit
Benoit Côté-Jodoin
·
Published
2022-09-09
·
Updated
2024-01-01
·
CVE-2022-25765
CVSS v2.0
10
Critical
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
pdfkit versions 0.0.0 through 0.8.7.2
Description
The issue is related to insufficient argument checking in the pdfkit library, which can be exploited by a remote attacker to execute arbitrary commands. This is a Command Injection vulnerability where the URL is not properly sanitized.
Recommendations
For pdfkit versions 0.0.0 through 0.8.7.2, update to a version later than 0.8.7.2, as the initial patch in 0.8.7.2 was found to be ineffective.
As a temporary workaround, consider disabling the use of URLs in the pdfkit library until a patch is available.
Restrict access to the vulnerable module to minimize the risk of exploitation.
Avoid using the
URL parameter in the affected API endpoint until the issue is resolved.Exploit
Fix
OS Command Injection
Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Pdfkit