Skip to content
OpenAdvisories
Medium · 5.5 CVE-2022-36313 EUVD-2022-6377GHSA-mhxj-85r3-2x55

file-type vulnerable to Infinite Loop via malformed MKV file

Published Jul 21, 2022 · Updated Oct 7, 2026 · Assigned by mitre

Description

An issue was discovered in the file-type package before 16.5.4 and 17.x before 17.1.3 for Node.js. A malformed MKV file could cause the file type detector to get caught in an infinite loop. This would make the application become unresponsive and could be used to cause a DoS attack.

Affected packages

EcosystemPackageAffectedFixedRecord
npm file-type >= 13.0.0, < 16.5.4 16.5.4 GHSA-mhxj-85r3-2x55
npm file-type >= 17.0.0, < 17.1.3 17.1.3 GHSA-mhxj-85r3-2x55

Advisories 2

References