PT-2022-23309 · Npm · File-Type
Published
2022-07-21
·
Updated
2022-10-27
·
CVE-2022-36313
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
file-type versions 13.0.0 through 16.5.4
file-type versions 17.x before 17.1.3
Description
An issue was discovered in the file-type package for Node.js. A malformed MKV file could cause the file type detector to get caught in an infinite loop, making the application become unresponsive. This could be used to cause a Denial of Service (DoS) attack, particularly when used on a web server.
Recommendations
For versions 13.0.0 through 16.5.4, update to version 16.5.4 or later.
For versions 17.x before 17.1.3, update to version 17.1.3 or later.
As a temporary workaround, consider restricting the handling of MKV files until a patch is available.
Fix
Infinite Loop
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
File-Type