{"id":"CVE-2022-36313","state":"PUBLISHED","title":"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 infin","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.","publishedAt":"2022-07-21T15:31:27.000Z","updatedAt":"2026-10-07T18:50:18.094Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://www.npmjs.com/package/file-type","https://github.com/sindresorhus/file-type/releases/tag/v17.1.3","https://github.com/sindresorhus/file-type/releases/tag/v16.5.4","https://security.netapp.com/advisory/ntap-20220909-0005/"],"weaknesses":["CWE-835"],"ingestedAt":"2026-10-29T19:50:21.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/36xxx/CVE-2022-36313.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-36313","state":"PUBLISHED","datePublished":"2022-07-21T15:31:27.000Z","dateUpdated":"2026-10-07T18:50:18.094Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2022-07-20T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://www.npmjs.com/package/file-type","tags":["x_refsource_MISC"]},{"url":"https://github.com/sindresorhus/file-type/releases/tag/v17.1.3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sindresorhus/file-type/releases/tag/v16.5.4","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20220909-0005/","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2022-09-09T17:06:19.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-36313","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://www.npmjs.com/package/file-type","refsource":"MISC","url":"https://www.npmjs.com/package/file-type"},{"name":"https://github.com/sindresorhus/file-type/releases/tag/v17.1.3","refsource":"CONFIRM","url":"https://github.com/sindresorhus/file-type/releases/tag/v17.1.3"},{"name":"https://github.com/sindresorhus/file-type/releases/tag/v16.5.4","refsource":"CONFIRM","url":"https://github.com/sindresorhus/file-type/releases/tag/v16.5.4"},{"name":"https://security.netapp.com/advisory/ntap-20220909-0005/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20220909-0005/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.npmjs.com/package/file-type","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/sindresorhus/file-type/releases/tag/v17.1.3","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/sindresorhus/file-type/releases/tag/v16.5.4","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20220909-0005/","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T10:00:04.274Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-10-07T18:49:40.209210Z","id":"CVE-2022-36313","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-835","type":"CWE","lang":"en","description":"CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-07T18:50:18.094Z"}}]}}}