Skip to content

OS Command Injection in im-resize

High severity GitHub Reviewed Published Apr 13, 2021 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

npm im-resize (npm)

Affected versions

<= 2.3.2

Patched versions

None

Description

im-resize through 2.3.2 allows remote attackers to execute arbitrary commands via the "exec" argument. The cmd argument used within index.js, can be controlled by user without any sanitization.

References

Published by the National Vulnerability Database Feb 4, 2020
Reviewed Mar 29, 2021
Published to the GitHub Advisory Database Apr 13, 2021
Last updated Feb 1, 2023

Severity

High

EPSS score

0.344%
(72nd percentile)

Weaknesses

CVE ID

CVE-2019-10787

GHSA ID

GHSA-r9vm-rhmf-7hxx

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.