CVE-2022-36313
file-type vulnerable to Infinite Loop via malformed MKV file
7.5
HIGH
CVSS 3.1
EPSS 0.17%
Description
An issue was discovered in the file-type package from 13.0.0 until 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 when used on a web server.
How to fix CVE-2022-36313
To remediate CVE-2022-36313, upgrade the affected package to a fixed version below.
- —upgrade to 16.5.4 or later
Is CVE-2022-36313 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 13.0.0, < 16.5.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (11)
- ADVISORYnvd.nist.gov/vuln/detail/CVE-2022-36313
- PATCHgithub.com/sindresorhus/file-type
- WEBgithub.com/sindresorhus/file-type/commit/2c4d1200c99dffb7d515b9b9951ef43c22bf7e47
- WEBgithub.com/sindresorhus/file-type/commit/8f981c32e2750d2516457e305e502ee2ad715759#diff-c853b2249e99790d8725774cf63c90c5ab17112067df6e267f3701d7bf591d12