CVE-2022-36313
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.
- CVSS 3.1
- 5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - EPSS
- 0.4% chance of exploitation in the next 30 days; higher than 34% of CVEs (scores of 2026-10-25)
- CWE
- CWE-835
- Published
- Modified
- Record from
- the NVD, synced
Affected
- sindresorhus:file-type
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-mhxj-85r3-2x55 | 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 |