{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-36313","id":"CVE-2022-36313","title":"file-type vulnerable to Infinite Loop via malformed MKV file","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.","descriptionLong":"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.","published":"2022-07-21T15:31:27.000Z","updated":"2026-10-28T02:30:55.250932148Z","reserved":"2022-07-20T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"file-type","purl":"pkg:npm/file-type","ranges":[">=13.0.0 <16.5.4",">=17.0.0 <17.1.3"],"fixed":["16.5.4","17.1.3"],"advisory":"GHSA-mhxj-85r3-2x55"}],"cwes":["CWE-835"],"aliases":["GHSA-mhxj-85r3-2x55"],"references":[{"url":"https://www.npmjs.com/package/file-type","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory","web"]},{"url":"https://github.com/sindresorhus/file-type/releases/tag/v17.1.3","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://github.com/sindresorhus/file-type/releases/tag/v16.5.4","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20220909-0005/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36313.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36313","tags":["advisory"]},{"url":"https://github.com/sindresorhus/file-type/commit/2c4d1200c99dffb7d515b9b9951ef43c22bf7e47","tags":["web"]},{"url":"https://github.com/sindresorhus/file-type/commit/8f981c32e2750d2516457e305e502ee2ad715759#diff-c853b2249e99790d8725774cf63c90c5ab17112067df6e267f3701d7bf591d12","tags":["web"]},{"url":"https://github.com/sindresorhus/file-type/commit/d86835680f4cccbee1a60628783c36700ec9e254","tags":["web"]},{"url":"https://github.com/sindresorhus/file-type","tags":["package"]},{"url":"https://github.com/sindresorhus/file-type/compare/v12.4.2...v13.0.0#diff-c853b2249e99790d8725774cf63c90c5ab17112067df6e267f3701d7bf591d12R611-R613","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20220909-0005","tags":["web"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-FILETYPE-2958042","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00406,"epssPercentile":0.35567,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-36313","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36313","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-36313","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mhxj-85r3-2x55","ok":true,"note":"GHSA-mhxj-85r3-2x55"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-36313","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}