CVE-2022-36313: file-type - Denial of Service
- Cve: CVE-2022-36313
- Name: file-type - Denial of Service
- 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.
- Impact: Attackers can cause application to become unresponsive, leading to denial of service.
- Remediation: Update to version 16.5.4, 17.1.3 or later.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.0041
- Epss percentile: 0.36012
- Assignee: [email protected]
- Published at: 2022-07-21T16:15:09Z
- Age in days: 1587
- Modified at: 2026-10-07T19:17:30Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-36313
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-835 | Loop with Unreachable Exit Condition |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/sindresorhus/file-type/releases/tag/v16.5.4 | Release Notes, Third Party Advisory |
| https://github.com/sindresorhus/file-type/releases/tag/v17.1.3 | Release Notes, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20220909-0005/ | Third Party Advisory |
| https://www.npmjs.com/package/file-type | Product, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| sindresorhus:file-type | >= 17.0.0, < 17.1.3; < 16.5.4 | no | nvd | /v1/products/sindresorhus/file-type |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| sindresorhus/file-type | commit, compare, package, releases | yes | /v1/repositories/sindresorhus/file-type |
Index
- Repositories: 49
- Repositories high signal: 17
- Packages: 1
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts