PT-2020-9138 · Im-Resize · Im-Resize

Published

2020-02-04

·

Updated

2021-04-13

·

CVE-2019-10787

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions im-resize versions 2.3.2 and earlier
Description The issue allows remote attackers to execute arbitrary commands via the exec argument. The cmd argument used within index.js can be controlled by a user without any sanitization.
Recommendations For versions 2.3.2 and earlier, as a temporary workaround, consider disabling the exec argument until a patch is available. Restrict access to the cmd argument in index.js to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2019-10787
GHSA-R9VM-RHMF-7HXX
SNYK-JS-IMRESIZE-544183

Affected Products

Im-Resize