Arbitrary Command Injection Affecting pdfkit package, versions < 0.5.3


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.26% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-PDFKIT-20071
  • published20 Feb 2013
  • disclosed20 Feb 2013
  • creditUnknown

Introduced: 20 Feb 2013

CVE-2013-1607  (opens in a new tab)
CWE-200  (opens in a new tab)

Overview

PDFKit is a gem that uses wkhtmltopdf to create PDFs using HTML. Affected versions of PDFKit contain a flaw that is due to the program failing to properly validate input during the handling of parameters when generating PDF files. This may allow a remote attacker to potentially execute arbitrary code via the pdfkit generation options.

CVSS Base Scores

version 3.1