CVE-2019-10787 json
OS Command Injection in im-resize
published 2020-02-04 6 y ago modified 2026-09-10 1 mo ago also GHSA-r9vm-rhmf-7hxx , EUVD-2021-0867
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.8%
- EPSS 3.8% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Exploit prediction
3.80% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-IMRESIZE-544183 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | im-resize | <=2.3.2 |
no fix listed |
Affected products
- n/a im-resize
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/Turistforeningen/node-im-resize/commit/de624dacf6a50e39fe3472af1414d44937ce1f03
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-IMRESIZE-544183
web, exploit, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-10787
advisory
Sources
- CVE List CVE-2019-10787
- GitHub Advisory GHSA-r9vm-rhmf-7hxx
- NVD CVE-2019-10787
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.