{ "schema_version": "1.4.0", "id": "GHSA-rhwx-hjx2-x4qr", "modified": "2023-01-26T22:41:07Z", "published": "2022-09-10T00:00:32Z", "aliases": [ "CVE-2022-25765" ], "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "RubyGems", "name": "pdfkit" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "0.8.7.2" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [ "CWE-77" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2022-09-15T03:30:40Z", "nvd_published_at": "2022-09-09T05:15:00Z" } }