GitHub Advisoryadvisory · npm

GHSA-r9vm-rhmf-7hxx OS Command Injection in im-resize

HIGH Published 2021-04-13 Modified 2021-03-29 Official page ↗
Aliases
CVE-2019-10787
Ecosystem
npm
Packages
im-resize
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
Reviewed
2021-03-29

Affected packages

• npm im-resize: <= 2.3.2 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2019-10787 im-resize through 2.3.2 allows remote attackers to execute arbitrary commands via the "exec" argument. vulnerability

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References