Skip to content

← Public intelligence

crates.io package

afire

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Unratedcrates.ioPublished

    Relative Path Traversal in afire serve_static

    GHSA-3227-r97m-8j95

    Affected
    • crates.io afire >= 0.2.1, < 1.1.0
    Fixed in
    1.1.0· Vendor fix available
    Issue
    Impact This vulnerability effects the built-in afire servestatic extension allowing paths containing //.... to bypass the previous path sanitation and request files in higher directories that should not be accessible. Patches The issue has been fixed in afire 1.1.0. If you can, just update to the newest version of afire. Workarounds If you can't update afire you can simply disallow paths containing /.. with the following middleware. Make sure this is the last middleware added to the server so it runs first, stopping the bad requests. References You can read about the new changes to afire in 1.1.0 here For more information If you have any questions or comments about this advisory you can email me or message me on discord. [https://connorcode.com/contact]

    Recommended action: Upgrade to 1.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →