file-type@14.6.2 vulnerabilities

Detect the file type of a Buffer/Uint8Array/ArrayBuffer

Direct Vulnerabilities

Known vulnerabilities in the file-type package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Denial of Service (DoS)

Affected versions of this package are vulnerable to Denial of Service (DoS). 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.

How to fix Denial of Service (DoS)?

Upgrade file-type to version 16.5.4, 17.1.3 or higher.

>=13.0.0 <16.5.4 >=17.0.0 <17.1.3