org.mvnpm:fflate@0.8.1

  • latest version

    0.8.3

  • first published

    1 years ago

  • latest version published

    6 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mvnpm:fflate 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
    Unchecked Input for Loop Condition

    org.mvnpm:fflate is a High performance (de)compression in an 8kB package

    Affected versions of this package are vulnerable to Unchecked Input for Loop Condition n the unzipSync and unzip functions. An attacker can block the JavaScript event loop for extended periods by submitting a ZIP archive whose ZIP64 end-of-central-directory record declares a large 32-bit entry count, which the parser uses directly to drive its central-directory iteration without validating it against the archive's actual size. A roughly 100-byte archive is sufficient to trigger tens of minutes of blocking, since each iteration still performs real work even when no corresponding entry data exists.

    How to fix Unchecked Input for Loop Condition?

    There is no fixed version for org.mvnpm:fflate.

    [0,)
    • H
    Denial of Service (DoS)

    org.mvnpm:fflate is a High performance (de)compression in an 8kB package

    Affected versions of this package are vulnerable to Denial of Service (DoS) via the unzipSync function when parsing malformed ZIP64 archives. An attacker can cause the process to enter an infinite loop by providing a crafted ZIP archive with a central directory entry declaring a compressed size of 0xFFFFFFFF but missing the required ZIP64 extra field tag, resulting in out-of-bounds reads and persistent loop conditions.

    How to fix Denial of Service (DoS)?

    Upgrade org.mvnpm:fflate to version 0.4.9, 0.8.3 or higher.

    [0.4.8,0.4.9)[0.8.1,0.8.3)