{"id":"CVE-2021-23376","state":"PUBLISHED","title":"Arbitrary Command Injection","description":"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.","publishedAt":"2021-04-18T18:40:26.230Z","updatedAt":"2024-09-17T02:42:39.126Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","source":"snyk"},"assigner":"snyk","products":["n/a ffmpegdotjs"],"affected":[{"vendor":"n/a","product":"ffmpegdotjs","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"}]}],"references":["https://snyk.io/vuln/SNYK-JS-FFMPEGDOTJS-1078542","https://github.com/TRomesh/ffmpegdotjs/blob/b7395daf0bdcb81218340427eb7073cdd28462af/index.js%23L219"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:04.982Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/23xxx/CVE-2021-23376.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-23376","state":"PUBLISHED","datePublished":"2021-04-18T18:40:26.230Z","dateUpdated":"2024-09-17T02:42:39.126Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2021-01-08T00:00:00.000Z"},"containers":{"cna":{"title":"Arbitrary Command Injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"ffmpegdotjs","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"}]}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-FFMPEGDOTJS-1078542","tags":["x_refsource_MISC"]},{"url":"https://github.com/TRomesh/ffmpegdotjs/blob/b7395daf0bdcb81218340427eb7073cdd28462af/index.js%23L219","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","exploitCodeMaturity":"PROOF_OF_CONCEPT","integrityImpact":"HIGH","privilegesRequired":"NONE","remediationLevel":"NOT_DEFINED","reportConfidence":"NOT_DEFINED","scope":"UNCHANGED","temporalScore":9.3,"temporalSeverity":"CRITICAL","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Arbitrary Command Injection","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2021-04-18T18:40:26.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"OmniTaint"}],"datePublic":"2021-04-18T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2021-04-18T18:37:07.317933Z","ID":"CVE-2021-23376","STATE":"PUBLIC","TITLE":"Arbitrary Command Injection"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"ffmpegdotjs","version":{"version_data":[{"version_affected":">=","version_value":"0"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"OmniTaint"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Arbitrary Command Injection"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/vuln/SNYK-JS-FFMPEGDOTJS-1078542","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-FFMPEGDOTJS-1078542"},{"name":"https://github.com/TRomesh/ffmpegdotjs/blob/b7395daf0bdcb81218340427eb7073cdd28462af/index.js%23L219","refsource":"MISC","url":"https://github.com/TRomesh/ffmpegdotjs/blob/b7395daf0bdcb81218340427eb7073cdd28462af/index.js%23L219"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://snyk.io/vuln/SNYK-JS-FFMPEGDOTJS-1078542","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/TRomesh/ffmpegdotjs/blob/b7395daf0bdcb81218340427eb7073cdd28462af/index.js%23L219","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:05:55.781Z"}}]}}}