org.mvnpm:astro@7.4.5

  • latest version

    7.4.5

  • first published

    2 months ago

  • latest version published

    23 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mvnpm:astro 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

    org.mvnpm:astro is an Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

    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?

    A fix was pushed into the master branch but not yet published.

    [0,)