p PatchFirst

PatchFirst · Vulnerabilidades recientes

Vulnerabilidades de file-type

Vulnerabilidades publicadas para file-type en los últimos 30 días: 0. Incluidas en el catálogo KEV: 0.

Filtrar vulnerabilidades
Borrar filtros

Vulnerabilidades: 3

  1. CVE-2026-32630

    Media · CVSS 5.3EPSS 0,32%Corrección disponible

    file-type affected by ZIP Decompression Bomb DoS via [Content_Types].xml entry

    file-type detects the file type of a file, stream, or data. From 20.0.0 to 21.3.1, a crafted ZIP file can trigger excessive memory growth during type detection in file-type when using fileTypeFromBuffer(), fileTypeFromBlob(), or fileTypeFromFile(). The ZIP inflate output limit is enforced for stream-based detection, but not for known-size inputs. As a result, a small compressed ZIP can cause file-type to inflate and process a much larger payload while probing ZIP-based formats such as OOXML. This vulnerability is fixed in 21.3.2.

    • Actualiza a 21.3.2
    Publicación Actualización
  2. CVE-2026-31808

    Media · CVSS 5.3EPSS 0,34%Corrección disponible

    file-type affected by infinite loop in ASF parser on malformed input with zero-size sub-header

    file-type detects the file type of a file, stream, or data. Prior to 21.3.1, a denial of service vulnerability exists in the ASF (WMV/WMA) file type detection parser. When parsing a crafted input where an ASF sub-header has a size field of zero, the parser enters an infinite loop. The payload value becomes negative (-24), causing tokenizer.ignore(payload) to move the read position backwards, so the same sub-header is read repeatedly forever. Any application that uses file-type to detect the type of untrusted/attacker-controlled input is affected. An attacker can stall the Node.js event loop with a 55-byte payload. Fixed in version 21.3.1.

    • Actualiza a 21.3.1
    Publicación Actualización
  3. CVE-2022-36313

    Media · CVSS 5.5EPSS 0,41%Corrección disponible

    CVE-2022-36313

    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.

    • Actualiza a 16.5.4
    • Actualiza a 17.1.3
    Publicación Actualización

Comprueba tu servidor

Compara tu pila y las versiones instaladas con las bases actuales de vulnerabilidades.

Comprueba tu servidor →