GitHub Advisoryadvisory · RubyGems
GHSA-rhwx-hjx2-x4qr PDFKit vulnerable to Command Injection
CRITICAL
Official page ↗
- Aliases
- CVE-2022-25765
- Ecosystem
- RubyGems
- Packages
- pdfkit
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-77
- Reviewed
- 2022-09-15
Affected packages
• RubyGems pdfkit: < 0.8.7.2 → fixed in 0.8.7.2
Description
The package pdfkit is vulnerable to Command Injection where the URL is not properly sanitized.
Note: This issue was patched in 0.8.7.2, but the patch was discovered to be ineffective. The updated patch version is 0.8.7.2.
Related
Alias · CVE (1)
- CVE-2022-25765 The package pdfkit from 0.0.0 are vulnerable to Command Injection where the URL is not properly sanitized. vulnerability
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25765 advisory
- https://github.com/pdfkit/pdfkit/issues/517 web
- https://github.com/pdfkit/pdfkit/pull/519 web
- https://github.com/pdfkit/pdfkit package
- https://github.com/pdfkit/pdfkit/blob/46cdf53ec540da1a1a2e4da979e3e5fe2f92a257/lib/pdfkit/pdfkit.rb#L55-L58 web
- https://github.com/pdfkit/pdfkit/blob/46cdf53ec540da1a1a2e4da979e3e5fe2f92a257/lib/pdfkit/pdfkit.rb%23L55-L58 web
- https://github.com/pdfkit/pdfkit/blob/master/lib/pdfkit/source.rb%23L44-L50 web
- https://github.com/pdfkit/pdfkit/releases/tag/v0.8.7 web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pdfkit/CVE-2022-25765.yml web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/C36GAV3TKM3JXV6UVMLMTTDRCPKSNETQ web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ESWB6SX7HYWQ54UGBGQOZ7G24O6RAOKD web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/JFB2BFKH5SUGRKXMY6PWRQNGKZML7GDT web
- https://security.snyk.io/vuln/SNYK-RUBY-PDFKIT-2869795 web
- http://packetstormsecurity.com/files/171746/pdfkit-0.8.7.2-Command-Injection.html web