koa-static-cache@3.1.1 vulnerabilities

Static cache for koa

  • latest version

    5.1.4

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    5 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.

    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
    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