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.
Remediation
References
https://github.com/sindresorhus/file-type/releases/tag/v16.5.4
https://github.com/sindresorhus/file-type/releases/tag/v17.1.3
https://security.netapp.com/advisory/ntap-20220909-0005/
https://www.npmjs.com/package/file-type
Related Vulnerabilities
CVE-2020-7746 Vulnerability in maven package org.webjars.bowergithub.chartjs:chart.js
CVE-2020-6858 Vulnerability in maven package com.hotels.styx:styx-components
CVE-2018-8027 Vulnerability in maven package org.apache.camel:camel-core
CVE-2018-16491 Vulnerability in maven package org.webjars.npm:node.extend
CVE-2021-32854 Vulnerability in maven package org.webjars:textangular