p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de file-type

Vulnérabilité publiée pour file-type au cours des 30 derniers jours : 0. Dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 3

  1. CVE-2026-32630

    Moyenne · CVSS 5.3EPSS 0,32%Correctif 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.

    • Mettez à jour vers 21.3.2
    Publication Mise à jour
  2. CVE-2026-31808

    Moyenne · CVSS 5.3EPSS 0,34%Correctif 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.

    • Mettez à jour vers 21.3.1
    Publication Mise à jour
  3. CVE-2022-36313

    Moyenne · CVSS 5.5EPSS 0,41%Correctif 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.

    • Mettez à jour vers 16.5.4
    • Mettez à jour vers 17.1.3
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →