{"id":"GHSA-r9vm-rhmf-7hxx","summary":"OS Command Injection in im-resize","details":"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.","aliases":["CVE-2019-10787","SNYK-JS-IMRESIZE-544183"],"modified":"2026-09-10T03:49:03.791083677Z","published":"2021-04-13T15:17:06Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-03-29T23:01:10Z","nvd_published_at":"2020-02-04T21:15:00Z","cwe_ids":["CWE-78"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10787"},{"type":"WEB","url":"https://github.com/Turistforeningen/node-im-resize/commit/de624dacf6a50e39fe3472af1414d44937ce1f03"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-IMRESIZE-544183"}],"affected":[{"package":{"name":"im-resize","ecosystem":"npm","purl":"pkg:npm/im-resize"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.3.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-r9vm-rhmf-7hxx/GHSA-r9vm-rhmf-7hxx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}