CVE-2022-25765
JSON

7.3high

Command Injection

Severity
7.3high CVSS:3.1 by snyk
Exploit likelihood
59.4% (higher than 99% of CVEs)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-rhwx-hjx2-x4qr

Description

The package pdfkit from 0.0.0 are vulnerable to Command Injection where the URL is not properly sanitized.

Affected

Product or packageVersionsReported by
pdfkitfrom 0.0.0 before unspecifiedCVE List
pdfkit (RubyGems)before 0.8.7.2GitHub Advisory Database
pdfkit_project pdfkitfrom 0.0.0NVD
fedoraproject fedora35, 36, 37NVD

All scores

snyk7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

What each source says

CVE List

The package pdfkit from 0.0.0 are vulnerable to Command Injection where the URL is not properly sanitized.

GitHub Advisory Database

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.

NVD (es)

El paquete pdfkit a partir de la versión 0.0.0, es vulnerable a una inyección de comandos cuando la URL no está saneada apropiadamente

References

https://security.snyk.io/vuln/SNYK-RUBY-PDFKIT-2869795exploit, third-party-advisory, web
https://github.com/pdfkit/pdfkit/blob/master/lib/pdfkit/source.rb%23L44-L50third-party-advisory, web
https://github.com/pdfkit/pdfkit/blob/46cdf53ec540da1a1a2e4da979e3e5fe2f92a257/lib/pdfkit/pdfkit.rb%23L55-L58third-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JFB2BFKH5SUGRKXMY6PWRQNGKZML7GDT/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ESWB6SX7HYWQ54UGBGQOZ7G24O6RAOKD/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C36GAV3TKM3JXV6UVMLMTTDRCPKSNETQ/vendor-advisory
http://packetstormsecurity.com/files/171746/pdfkit-0.8.7.2-Command-Injection.htmlweb
https://nvd.nist.gov/vuln/detail/CVE-2022-25765advisory
https://github.com/pdfkit/pdfkit/issues/517web
https://github.com/pdfkit/pdfkit/pull/519web
https://github.com/pdfkit/pdfkitpackage
https://github.com/pdfkit/pdfkit/blob/46cdf53ec540da1a1a2e4da979e3e5fe2f92a257/lib/pdfkit/pdfkit.rb#L55-L58web

Sources

SourceRecordLicence
CVE ListCVE-2022-25765 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-rhwx-hjx2-x4qr changed 2024-02-19CC-BY-4.0
NVDCVE-2022-25765 changed 2026-06-17Public domain