CVE-2019-10787
CRITICAL 9.8CVSS 3.1OS Command Injection in im-resize
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.
- Published
- 4 Feb 2020
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-r9vm-rhmf-7hxxSNYK-JS-IMRESIZE-544183
- Sources
- NVDJSONOSV GHSA-r9vm-rhmf-7hxxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dnt | im-resizecpe:2.3:a:dnt:im-resize:*:*:*:*:*:node.js:*:* |
<= 2.3.2 | |
| OSV | npm | im-resize | <= 2.3.2 |
References
- https://github.com/Turistforeningen/node-im-resize/commit/de624dacf6a50e39fe3472af1414d44937ce1f03 · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-IMRESIZE-544183 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-10787 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 4 Feb 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Apr 2021)