What’s Vulnerable › Vulnerabilities
CVE-2022-36313
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-07-21 · updated 2026-10-07
- Weakness: CWE-835
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 products
- sindresorhus file-type: before 16.5.4; from 17.0.0 before 17.1.3 — fixed in 16.5.4, 17.1.3
How to fix
Upgrade to a fixed version: sindresorhus file-type 16.5.4, 17.1.3. Check the vendor advisory for mitigations.
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
- 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
Get alerted when CVE-2022-36313 or the next vulnerability affects your stack