koa-static-cache@3.1.1 vulnerabilities

Static cache for koa

  • latest version

    5.1.4

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    4 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the koa-static-cache package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Directory Traversal

    koa-static-cache is Static cache for koa.

    Affected versions of the package are vulnerable to Directory Traversal. When in dynamic mode, a malicious user can traverse through the servers files, by entering %2E%2E/ into the url, allowing the attacker to obtain the contents of any file on the server's filesystem.

    How to fix Directory Traversal?

    Upgrade koa-static-cache to versions 4.1.1, 5.1.1 or higher.

    <4.1.1>=5.0.0 <5.1.1