Vulnerability · Published Sep 9, 2022 · Assigned by snyk
CVE-2022-25765Command Injection
High 7.3
In plain English
A high-severity security flaw in pdfkit. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 42.5% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.3High
Exploit odds (30 days)42.5%top 1.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official description
The package pdfkit from 0.0.0 are vulnerable to Command Injection where the URL is not properly sanitized.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | pdfkit | 0.8.7.2 | GHSA-rhwx-hjx2-x4qr |
Affected products (as reported)
References
- https://security.snyk.io/vuln/SNYK-RUBY-PDFKIT-2869795
- https://github.com/pdfkit/pdfkit/blob/master/lib/pdfkit/source.rb%23L44-L50
- https://github.com/pdfkit/pdfkit/blob/46cdf53ec540da1a1a2e4da979e3e5fe2f92a257/lib/pdfkit/pdfkit.rb%23L55-L58
- FEDORA-2022-6da143f1a2 vendor-advisory
- FEDORA-2022-3ec8272e72 vendor-advisory
- FEDORA-2022-c0d55cd527 vendor-advisory
- http://packetstormsecurity.com/files/171746/pdfkit-0.8.7.2-Command-Injection.html