{"id":"GHSA-f39r-cpmj-whcg","summary":"Command Injection in ffmpegdotjs","details":"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.","aliases":["CVE-2021-23376"],"modified":"2023-11-08T04:05:05.983919Z","published":"2021-05-06T15:55:21Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-04-19T20:46:54Z","nvd_published_at":"2021-04-18T19:15:00Z","cwe_ids":["CWE-77"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23376"},{"type":"PACKAGE","url":"https://github.com/TRomesh/ffmpegdotjs"},{"type":"WEB","url":"https://github.com/TRomesh/ffmpegdotjs/blob/b7395daf0bdcb81218340427eb7073cdd28462af/index.js#23L219"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-FFMPEGDOTJS-1078542"}],"affected":[{"package":{"name":"ffmpegdotjs","ecosystem":"npm","purl":"pkg:npm/ffmpegdotjs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-f39r-cpmj-whcg/GHSA-f39r-cpmj-whcg.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"}]}