CVE-2023-26155
JSON

7.3high

node-qpdf vulnerable to command injection

Severity
7.3high CVSS:3.1 by snyk
Exploit likelihood
2.19% (higher than 82% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-fpr8-4wvx-j9q3

Description

All versions of the package node-qpdf are vulnerable to Command Injection such that the package-exported method encrypt() fails to sanitize its parameter input, which later flows into a sensitive command execution API. As a result, attackers may inject malicious commands once they can specify the input pdf file path.

Affected

Product or packageVersionsReported by
node-qpdfbefore *CVE List
node-qpdf (npm)up to 1.0.3GitHub Advisory Database
nrhirani node-qpdfNot specifiedNVD

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
GitHub7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-77CWE-78CWE-94

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

All versions of the package node-qpdf are vulnerable to Command Injection such that the package-exported method encrypt() fails to sanitize its parameter input, which later flows into a sensitive command execution API. As a result, attackers may inject malicious commands once they can specify the input pdf file path.

NVD (es)

Todas las versiones del paquete node-qpdf son vulnerables a la inyección de comandos, de modo que el método encrypt() exportado por el paquete no puede sanitizar su entrada de parámetros, que luego fluye hacia una API de ejecución de comandos confidencial. Como resultado, los atacantes pueden inyectar comandos maliciosos una vez que puedan especificar la ruta del archivo pdf de entrada.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-26155 changed 2024-09-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-fpr8-4wvx-j9q3 changed 2023-11-08CC-BY-4.0
NVDCVE-2023-26155 changed 2026-06-17Public domain