Skip to content

← Public intelligence

crates.io package

tower-http

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

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

  1. Unratedcrates.ioPublished

    tower-http's improper validation of Windows paths could lead to directory traversal attack

    GHSA-qrqq-9c63-xfrg

    Affected
    • crates.io tower-http >= 0.2.0, <= 0.2.0; < 0.1.3
    Fixed in
    0.1.30.2.1· Vendor fix available
    Issue
    towerhttp::services::fs::ServeDir didn't correctly validate Windows paths, meaning paths like /foo/bar/c:/windows/web/screen/img101.png would be allowed and respond with the contents of c:/windows/web/screen/img101.png. Thus users could potentially read files anywhere on the filesystem. This only impacts Windows. Linux and other unix likes are not impacted by this. See [tower-http#204] for more details. [tower-http#204]: https://github.com/tower-rs/tower-http/pull/204

    Recommended action: Upgrade to 0.2.1 or 0.1.3 by release line, 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 →
  2. Unratedcrates.ioPublished

    tower-http's improper validation of Windows paths could lead to directory traversal attack

    GHSA-wwh2-r387-g5rm

    Affected
    • crates.io tower-http >= 0.2.0, < 0.2.1; < 0.1.3
    Fixed in
    0.1.30.2.1· Vendor fix available
    Issue
    towerhttp::services::fs::ServeDir didn't correctly validate Windows paths meaning paths like /foo/bar/c:/windows/web/screen/img101.png would be allowed and respond with the contents of c:/windows/web/screen/img101.png. Thus users could potentially read files anywhere on the filesystem. This only impacts Windows. Linux and other unix likes are not impacted by this.

    Recommended action: Upgrade to 0.2.1 or 0.1.3 by release line, 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 →