Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1taHhqLTg1cjMtMng1Nc4AAtkt

file-type vulnerable to Infinite Loop via malformed MKV file

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.

Permalink: https://github.com/advisories/GHSA-mhxj-85r3-2x55
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1taHhqLTg1cjMtMng1Nc4AAtkt
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 2 years ago
Updated: over 1 year ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Identifiers: GHSA-mhxj-85r3-2x55, CVE-2022-36313
References: Repository: https://github.com/sindresorhus/file-type
Blast Radius: 43.3

Affected Packages

npm:file-type
Dependent packages: 1,983
Dependent repositories: 597,635
Downloads: 85,977,833 last month
Affected Version Ranges: >= 13.0.0, < 16.5.4, >= 17.0.0, < 17.1.3
Fixed in: 16.5.4, 17.1.3
All affected versions: 13.0.0, 13.0.1, 13.0.2, 13.0.3, 13.1.0, 13.1.1, 13.1.2, 14.0.0, 14.1.0, 14.1.1, 14.1.2, 14.1.3, 14.1.4, 14.2.0, 14.3.0, 14.4.0, 14.5.0, 14.6.0, 14.6.1, 14.6.2, 14.7.0, 14.7.1, 15.0.0, 15.0.1, 16.0.0, 16.0.1, 16.1.0, 16.2.0, 16.3.0, 16.4.0, 16.5.0, 16.5.1, 16.5.2, 16.5.3, 17.0.0, 17.0.1, 17.0.2, 17.1.0, 17.1.1, 17.1.2
All unaffected versions: 0.1.0, 0.1.1, 0.2.0, 0.3.0, 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0, 2.10.0, 2.10.1, 2.10.2, 2.11.0, 2.12.0, 3.0.0, 3.1.0, 3.1.1, 3.2.0, 3.3.0, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0, 4.4.0, 5.0.0, 5.1.0, 5.1.1, 5.2.0, 6.1.0, 6.2.0, 7.0.1, 7.1.0, 7.2.0, 7.3.0, 7.4.0, 7.5.0, 7.6.0, 7.7.0, 7.7.1, 8.0.0, 8.1.0, 9.0.0, 10.0.0, 10.1.0, 10.2.0, 10.3.0, 10.4.0, 10.5.0, 10.6.0, 10.7.0, 10.7.1, 10.8.0, 10.9.0, 10.10.0, 10.11.0, 11.0.0, 11.1.0, 12.0.0, 12.0.1, 12.1.0, 12.2.0, 12.3.0, 12.3.1, 12.4.0, 12.4.1, 12.4.2, 16.5.4, 17.1.3, 17.1.4, 17.1.5, 17.1.6, 18.0.0, 18.1.0, 18.2.0, 18.2.1, 18.3.0, 18.4.0, 18.5.0, 18.6.0, 18.7.0, 19.0.0