VDB
Sign up
CRITICAL9.8

GHSA-5gwh-g79j-vh4q

Command Injection in pdf-image

Quick fix

GHSA-5gwh-g79j-vh4q — pdf-image: upgrade to the fixed version with the command below.

npm install pdf-image@2.0.0

Details

Versions of `pdf-image` before 2.0.0 are vulnerable to command injection. This vulnerability is exploitable if the attacker has control over the `pdfFilePath` variable passed into `pdf-image`.

## Recommendation

Update to version 2.0.0 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/pdf-image
Introduced in: 0Fixed in: 2.0.0
Fixnpm install pdf-image@2.0.0

References