{"id":"GHSA-rhwx-hjx2-x4qr","summary":"PDFKit vulnerable to Command Injection","details":"The package pdfkit is vulnerable to Command Injection where the URL is not properly sanitized.\n\nNote: 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.","aliases":["CVE-2022-25765"],"modified":"2024-02-19T05:23:14.114042Z","published":"2022-09-10T00:00:32Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-09-15T03:30:40Z","nvd_published_at":"2022-09-09T05:15:00Z","cwe_ids":["CWE-77"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25765"},{"type":"WEB","url":"https://github.com/pdfkit/pdfkit/issues/517"},{"type":"WEB","url":"https://github.com/pdfkit/pdfkit/pull/519"},{"type":"PACKAGE","url":"https://github.com/pdfkit/pdfkit"},{"type":"WEB","url":"https://github.com/pdfkit/pdfkit/blob/46cdf53ec540da1a1a2e4da979e3e5fe2f92a257/lib/pdfkit/pdfkit.rb#L55-L58"},{"type":"WEB","url":"https://github.com/pdfkit/pdfkit/blob/46cdf53ec540da1a1a2e4da979e3e5fe2f92a257/lib/pdfkit/pdfkit.rb%23L55-L58"},{"type":"WEB","url":"https://github.com/pdfkit/pdfkit/blob/master/lib/pdfkit/source.rb%23L44-L50"},{"type":"WEB","url":"https://github.com/pdfkit/pdfkit/releases/tag/v0.8.7"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pdfkit/CVE-2022-25765.yml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C36GAV3TKM3JXV6UVMLMTTDRCPKSNETQ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ESWB6SX7HYWQ54UGBGQOZ7G24O6RAOKD"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JFB2BFKH5SUGRKXMY6PWRQNGKZML7GDT"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-RUBY-PDFKIT-2869795"},{"type":"WEB","url":"http://packetstormsecurity.com/files/171746/pdfkit-0.8.7.2-Command-Injection.html"}],"affected":[{"package":{"name":"pdfkit","ecosystem":"RubyGems","purl":"pkg:gem/pdfkit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.7.2"}]}],"versions":["0.1.0","0.1.1","0.2.0","0.2.1","0.2.2","0.2.3","0.3.0","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.6.1","0.6.2","0.7.0","0.8.0","0.8.1","0.8.2","0.8.3","0.8.4","0.8.4.1","0.8.4.2","0.8.4.3.1","0.8.4.3.2","0.8.5","0.8.6","0.8.7","0.8.7.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-rhwx-hjx2-x4qr/GHSA-rhwx-hjx2-x4qr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}