{"id":"CVE-2021-23376","aliases":["CVE-2021-23376","GHSA-f39r-cpmj-whcg"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Command Injection","summary":"This affects all versions of package ffmpegdotjs. If attacker-controlled user input is given to the trimvideo function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects all versions of package ffmpegdotjs. If attacker-controlled user input is given to the trimvideo function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.","source":"cvelist"},{"lang":"es","text":"Esto afecta a todas las versiones del paquete ffmpegdotjs.&#xa0;Si es proporcionada una entrada de usuario controlada por un atacante para la función trimvideo, es posible para un atacante ejecutar comandos arbitrarios.&#xa0;Esto es debido al uso de la función exec child_process sin un saneamiento de la entrada","source":"nvd"}],"published":"2021-04-18T18:40:26.230Z","modified":"2026-06-17T03:38:38.960Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-77","CWE-78"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"ffmpegdotjs","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.0.4"}],"ecosystem":"npm","package":"ffmpegdotjs","purl":"pkg:npm/ffmpegdotjs","source":"ghsa"},{"ranges":[],"vendor":"ffmpegdotjs_project","product":"ffmpegdotjs","cpe":"cpe:2.3:a:ffmpegdotjs_project:ffmpegdotjs:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-FFMPEGDOTJS-1078542","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/TRomesh/ffmpegdotjs/blob/b7395daf0bdcb81218340427eb7073cdd28462af/index.js%23L219","tags":["broken-link","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23376","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/TRomesh/ffmpegdotjs","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/TRomesh/ffmpegdotjs/blob/b7395daf0bdcb81218340427eb7073cdd28462af/index.js#23L219","tags":["web"],"sources":["ghsa"]}],"credits":["OmniTaint"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23376","url":"https://www.cve.org/CVERecord?id=CVE-2021-23376","licence":"CVE Terms of Use","modified":"2024-09-17T02:42:39.126Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f39r-cpmj-whcg","url":"https://github.com/advisories/GHSA-f39r-cpmj-whcg","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:05.983Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23376","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23376","licence":"Public domain","modified":"2026-06-17T03:38:38.960Z"}],"updatedAt":"2026-11-25T22:58:00.850Z","epss":{"score":0.01959,"percentile":0.80918,"date":"2026-12-01T12:00:22.000Z"}}