Advisory

GHSA-fpr8-4wvx-j9q3

Also known as: CVE-2023-26155

Summary

node-qpdf vulnerable to command injection

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-10-14 06:30 UTC
Modified
2023-11-08 04:12 UTC

Affected packages and fixes

node-qpdf

npm · All systems

Affected

  • introduced 0, last affected 1.0.3 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences