CVE-2022-36313
Medium
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.
SeverityMedium
CVSS5.5
Exploit probability—
ProductSindresorhus File-type
PublishedJul 21, 2022
First seenJul 21, 2022
Weakness typeCWE-835CWE-835
How to fix
Update
- sindresorhus file-type16.5.4, 17.1.3 or later
- file-type16.5.4, 17.1.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sindresorhus file-type | v < 16.5.4, 17.0.0 ≤ v < 17.1.3 | 16.5.4, 17.1.3 |
| file-typenpm | 13.0.0 ≤ v < 16.5.4, 17.0.0 ≤ v < 17.1.3 | 16.5.4, 17.1.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.