Medium severity · published Jul 21, 2022
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
5.5
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 35% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FI
File-type · Sindresorhus
before 16.5.4; 17.0.0 before 17.1.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-36313
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-36313
x_refsource_MISC
https://www.npmjs.com/package/file-type
x_refsource_CONFIRM
https://github.com/sindresorhus/file-type/releases/tag/v17.1.3
x_refsource_CONFIRM
https://github.com/sindresorhus/file-type/releases/tag/v16.5.4
x_refsource_CONFIRM
https://security.netapp.com/advisory/ntap-20220909-0005/
More from File-type
5.3
CVE-2026-32630
file-type affected by ZIP Decompression Bomb DoS via [Content_Types].xml entry
5.3
CVE-2026-31808
file-type affected by infinite loop in ASF parser on malformed input with zero-size sub-header
