Vulnerability · Published Jul 21, 2022 · Assigned by mitre

CVE-2022-36313

Medium 5.5

In plain English

A medium-severity infinite loop in the file-type package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.4%top 64.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmfile-type16.5.4GHSA-mhxj-85r3-2x55
npmfile-type17.1.3GHSA-mhxj-85r3-2x55

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-835 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References