org.mvnpm:file-type@21.3.0

  • latest version

    22.3.0

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    25 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mvnpm:file-type package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Allocation of Resources Without Limits or Throttling

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the processing of ZIP-based file type detection via the fileTypeFromBuffer, fileTypeFromBlob, or fileTypeFromFile functions. An attacker can cause excessive memory consumption by submitting a large [Content_Types].xml entry.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade org.mvnpm:file-type to version 21.3.2 or higher.

    [20.4.1,21.3.2)
    • M
    Infinite loop

    Affected versions of this package are vulnerable to Infinite loop in the FileTypeParser class. This is triggered when the ASF (WMV/WMA) parser receives input including an ASF sub-header with a size value of 0. An attacker can interrupt service with a 55-byte payload.

    How to fix Infinite loop?

    Upgrade org.mvnpm:file-type to version 21.3.1 or higher.

    [17.1.6,21.3.1)