@astrojs/node@11.1.15

Deploy your site to a Node.js server

  • latest version

    11.1.15

  • first published

    4 years ago

  • latest version published

    2 hours ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @astrojs/node 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
    • M
    Improper Handling of Case Sensitivity

    @astrojs/node is a Deploy your site to a Node.js server

    Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity in the /_image endpoint used by the @astrojs/node adapter, where the check that a requested local image is inside the build output directory compares paths case-insensitively. An attacker can read image files from outside the output directory by requesting /_image with an href such as /../../DIST/client/secret.png, which resolves to a directory that differs from the output directory only by letter case. Only sites that use on-demand rendering with @astrojs/node on a case-sensitive filesystem, with a case-variant directory next to the output directory, are affected, and only files the image service accepts can be read.

    How to fix Improper Handling of Case Sensitivity?

    There is no fixed version for @astrojs/node.

    *