{"id":"CVE-2019-10787","aliases":["EUVD-2021-0867","GHSA-r9vm-rhmf-7hxx","SNYK-JS-IMRESIZE-544183"],"status":"published","title":"OS Command Injection in im-resize","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.03799,"percentile":0.90079,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-78"],"published":"2020-02-04T20:11:12Z","modified":"2026-09-10T03:49:03Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"im-resize","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.3.2"}]}]},{"source":"osv","ecosystem":"npm","package":"im-resize","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.3.2"}]}]}],"products":[{"vendor":"dnt","product":"im-resize"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-IMRESIZE-544183","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/Turistforeningen/node-im-resize/commit/de624dacf6a50e39fe3472af1414d44937ce1f03","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10787","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-r9vm-rhmf-7hxx"}],"sources":{"cve":[{"id":"CVE-2019-10787","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.","status":"published","published":"2020-02-04T20:11:12Z","modified":"2024-08-04T22:32:02.034Z","updated_at":"2026-11-02T14:20:19.056416Z"}],"euvd":[{"id":"EUVD-2021-0867","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.","status":"published","published":"2020-02-04T20:11:12Z","modified":"2024-08-04T22:32:02Z","updated_at":"2026-11-03T02:40:50.763878Z"}],"ghsa":[{"id":"GHSA-r9vm-rhmf-7hxx","title":"OS Command Injection in im-resize","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.","status":"published","published":"2021-04-13T15:17:06Z","modified":"2023-02-01T05:05:16Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:36:33.613868Z"}],"nvd":[{"id":"CVE-2019-10787","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.","status":"published","published":"2020-02-04T21:15:10.667Z","modified":"2026-06-17T02:11:40.37Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:05:43.875329Z"}],"osv":[{"id":"CVE-2019-10787","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.","status":"published","published":"2020-02-04T21:15:10.667Z","modified":"2026-07-09T02:49:08.118497Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:10.383287Z"},{"id":"GHSA-r9vm-rhmf-7hxx","title":"OS Command Injection in im-resize","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.","status":"published","published":"2021-04-13T15:17:06Z","modified":"2026-09-10T03:49:03.791083677Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:46:55.480549Z"}]}}
