{"id":"CVE-2022-36313","aliases":["GHSA-mhxj-85r3-2x55","WID-SEC-W-2022-0800"],"summary":"An issue was discovered in the file-type package before 16.5.4 and 17.x before 17.1.3 for Node.js.","published_at":"2022-07-21T00:00:00Z","modified_at":"2026-10-07T18:50:18.094Z","products":[],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"BSI","rating":"mittel"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.00406000018119812,"percentile":0.35791000723838806,"date":"2026-11-20T00:00:00Z"},"priority":9.5,"record_count":5,"vendors":["Red Hat","BSI","GitHub"],"details":"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_stack":[],"affected_other":[{"ecosystem":"NVD","package":"sindresorhus:file-type","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.5.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"17.0.0"},{"fixed":"17.1.3"}]}],"fixed":["16.5.4","17.1.3"],"provider":"nvd","source":"CVE-2022-36313","relation":"self"},{"ecosystem":"npm","package":"file-type","purl":"pkg:npm/file-type","ranges":[{"type":"SEMVER","events":[{"introduced":"13.0.0"},{"fixed":"16.5.4"}]}],"fixed":["16.5.4"],"provider":"osv","source":"GHSA-mhxj-85r3-2x55","relation":"self"},{"ecosystem":"npm","package":"file-type","purl":"pkg:npm/file-type","ranges":[{"type":"SEMVER","events":[{"introduced":"17.0.0"},{"fixed":"17.1.3"}]}],"fixed":["17.1.3"],"provider":"osv","source":"GHSA-mhxj-85r3-2x55","relation":"self"}],"product_status":[{"vendor":"BSI","product":"Red Hat Enterprise Linux","cpe":"cpe:/o:redhat:enterprise_linux:-","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2022-0800"},{"vendor":"Red Hat","product":"Migration Toolkit for Virtualization","cpe":"cpe:/a:redhat:migration_toolkit_virtualization:2","status":"affected","packages":["migration-toolkit-virtualization/mtv-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"affected","packages":["advanced-cluster-security/rhacs-docs-rhel8","advanced-cluster-security/rhacs-rhel8-operator","advanced-cluster-security/rhacs-roxctl-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"not_affected","packages":["advanced-cluster-security/rhacs-central-db-rhel8","advanced-cluster-security/rhacs-main-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat Data Grid 8.4.1","cpe":"cpe:/a:redhat:jboss_data_grid:8","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2023:0713"],"provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat Integration Camel K 1","cpe":"cpe:/a:redhat:camel_k:1","status":"affected","packages":["file-type"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces-theia-endpoint-rhel8-container","devspaces-theia-rhel8-container"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/code-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"not_affected","packages":["devspaces/idea-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat build of Apicurio Registry 2","cpe":"cpe:/a:redhat:service_registry:2","status":"not_affected","packages":["file-type"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-36313"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2022-36313","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-36313","license":"CC-BY-4.0","published_at":"2022-07-21T15:31:27Z","modified_at":"2026-10-07T18:50:18.094Z","summary":"An issue was discovered in the file-type package before 16.5.4 and 17.x before 17.1.3 for Node.js.","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"CISA-ADP:CVE-2022-36313"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.npmjs.com/package/file-type"},{"type":"WEB","url":"https://github.com/sindresorhus/file-type/releases/tag/v17.1.3"},{"type":"WEB","url":"https://github.com/sindresorhus/file-type/releases/tag/v16.5.4"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220909-0005/"}]},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2022-0800","relation":"self","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-0800","license":"TLP:CLEAR, mirroring permitted","published_at":"2022-07-21T22:00:00Z","modified_at":"2023-02-09T23:00:00Z","summary":"Node.js: Schwachstelle ermöglicht Denial of Service","details":"Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Node.js ausnutzen, um einen Denial of Service Angriff durchzuführen.\n\nNode.js ist eine Plattform zur Entwicklung von Netzwerkanwendungen.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2022-0800"}],"affected":[],"product_status":[{"vendor":"BSI","product":"Red Hat Enterprise Linux","cpe":"cpe:/o:redhat:enterprise_linux:-","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2022-0800"}],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-0800.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-0800"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:0713"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36313"}]},{"provider":"nvd","source_id":"CVE-2022-36313","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36313","severity":[],"affected":[{"ecosystem":"NVD","package":"sindresorhus:file-type","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.5.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"17.0.0"},{"fixed":"17.1.3"}]}],"fixed":["16.5.4","17.1.3"],"provider":"nvd","source":"CVE-2022-36313","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-mhxj-85r3-2x55","relation":"self","url":"https://osv.dev/vulnerability/GHSA-mhxj-85r3-2x55","license":"CC-BY-4.0","published_at":"2022-07-22T00:00:38Z","modified_at":"2023-11-08T04:10:02.456879Z","summary":"file-type vulnerable to Infinite Loop via malformed MKV file","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GHSA-mhxj-85r3-2x55"}],"affected":[{"ecosystem":"npm","package":"file-type","purl":"pkg:npm/file-type","ranges":[{"type":"SEMVER","events":[{"introduced":"13.0.0"},{"fixed":"16.5.4"}]}],"fixed":["16.5.4"],"provider":"osv","source":"GHSA-mhxj-85r3-2x55","relation":"self"},{"ecosystem":"npm","package":"file-type","purl":"pkg:npm/file-type","ranges":[{"type":"SEMVER","events":[{"introduced":"17.0.0"},{"fixed":"17.1.3"}]}],"fixed":["17.1.3"],"provider":"osv","source":"GHSA-mhxj-85r3-2x55","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36313"},{"type":"WEB","url":"https://github.com/sindresorhus/file-type/commit/2c4d1200c99dffb7d515b9b9951ef43c22bf7e47"},{"type":"WEB","url":"https://github.com/sindresorhus/file-type/commit/8f981c32e2750d2516457e305e502ee2ad715759#diff-c853b2249e99790d8725774cf63c90c5ab17112067df6e267f3701d7bf591d12"},{"type":"WEB","url":"https://github.com/sindresorhus/file-type/commit/d86835680f4cccbee1a60628783c36700ec9e254"},{"type":"PACKAGE","url":"https://github.com/sindresorhus/file-type"},{"type":"WEB","url":"https://github.com/sindresorhus/file-type/compare/v12.4.2...v13.0.0#diff-c853b2249e99790d8725774cf63c90c5ab17112067df6e267f3701d7bf591d12R611-R613"},{"type":"WEB","url":"https://github.com/sindresorhus/file-type/releases/tag/v16.5.4"},{"type":"WEB","url":"https://github.com/sindresorhus/file-type/releases/tag/v17.1.3"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220909-0005"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-FILETYPE-2958042"},{"type":"WEB","url":"https://www.npmjs.com/package/file-type"}]},{"provider":"redhat-vex","source_id":"CVE-2022-36313","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2022-36313","license":"CC-BY-4.0","published_at":"2022-07-21T00:00:00Z","modified_at":"2026-08-04T16:37:10Z","summary":"file-type: a malformed MKV file could cause the file type detector to get caught in an infinite loop","details":"A flaw was found in the file-type npm package. A malformed MKV file could lead the file type detector to a denial of Service. This issue allows an attacker to input a malicious file and make the server unresponsive.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"CVE-2022-36313"},{"type":"Red Hat","score":"Moderate","source":"CVE-2022-36313"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Migration Toolkit for Virtualization","cpe":"cpe:/a:redhat:migration_toolkit_virtualization:2","status":"affected","packages":["migration-toolkit-virtualization/mtv-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"affected","packages":["advanced-cluster-security/rhacs-docs-rhel8","advanced-cluster-security/rhacs-rhel8-operator","advanced-cluster-security/rhacs-roxctl-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"not_affected","packages":["advanced-cluster-security/rhacs-central-db-rhel8","advanced-cluster-security/rhacs-main-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat Data Grid 8.4.1","cpe":"cpe:/a:redhat:jboss_data_grid:8","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2023:0713"],"provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat Integration Camel K 1","cpe":"cpe:/a:redhat:camel_k:1","status":"affected","packages":["file-type"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces-theia-endpoint-rhel8-container","devspaces-theia-rhel8-container"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/code-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"not_affected","packages":["devspaces/idea-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-36313"},{"vendor":"Red Hat","product":"Red Hat build of Apicurio Registry 2","cpe":"cpe:/a:redhat:service_registry:2","status":"not_affected","packages":["file-type"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-36313"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-36313.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-36313"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2159682"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-36313"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36313"}]}],"references":[{"type":"WEB","url":"https://www.npmjs.com/package/file-type"},{"type":"WEB","url":"https://github.com/sindresorhus/file-type/releases/tag/v17.1.3"},{"type":"WEB","url":"https://github.com/sindresorhus/file-type/releases/tag/v16.5.4"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220909-0005/"},{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-0800.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-0800"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:0713"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36313"},{"type":"WEB","url":"https://github.com/sindresorhus/file-type/commit/2c4d1200c99dffb7d515b9b9951ef43c22bf7e47"},{"type":"WEB","url":"https://github.com/sindresorhus/file-type/commit/8f981c32e2750d2516457e305e502ee2ad715759#diff-c853b2249e99790d8725774cf63c90c5ab17112067df6e267f3701d7bf591d12"},{"type":"WEB","url":"https://github.com/sindresorhus/file-type/commit/d86835680f4cccbee1a60628783c36700ec9e254"},{"type":"PACKAGE","url":"https://github.com/sindresorhus/file-type"},{"type":"WEB","url":"https://github.com/sindresorhus/file-type/compare/v12.4.2...v13.0.0#diff-c853b2249e99790d8725774cf63c90c5ab17112067df6e267f3701d7bf591d12R611-R613"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220909-0005"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-FILETYPE-2958042"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-36313.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-36313"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2159682"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-36313"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2022-36313","url":"https://www.cve.org/CVERecord?id=CVE-2022-36313","license":"CC-BY-4.0","modified_at":"2026-10-07T18:50:18.094Z","relation":"self"},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2022-0800","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-0800","license":"TLP:CLEAR, mirroring permitted","modified_at":"2023-02-09T23:00:00Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2022-36313","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36313","relation":"self"},{"provider":"osv","source_id":"GHSA-mhxj-85r3-2x55","url":"https://osv.dev/vulnerability/GHSA-mhxj-85r3-2x55","license":"CC-BY-4.0","modified_at":"2023-11-08T04:10:02.456879Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2022-36313","url":"https://access.redhat.com/security/cve/CVE-2022-36313","license":"CC-BY-4.0","modified_at":"2026-08-04T16:37:10Z","relation":"self"}]}
