Skip to content

← Public intelligence

PyPI package

fastapi-proxy-lib

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. High, CVSS 7.5PyPIAmendedPublished

    Cookie leakage between different users in fastapi-proxy-lib

    GHSA-7vwr-g6pm-9hc8

    Affected
    • PyPI fastapi-proxy-lib < 0.1.0
    Fixed in
    0.1.0· Vendor fix available
    Issue
    Impact In the implementation of version 0.0.1, requests from different user clients are processed using a shared httpx.AsyncClient. However, one oversight is that the httpx.AsyncClient will persistently store cookies based on the set-cookie response header sent by the target server and share these cookies across different user requests. This results in a cookie leakage issue among all user clients sharing the same httpx.AsyncClient. Patches It's fixed in 0.1.0 Workarounds If you insist 0.0.1: - Do not use ForwardHttpProxy at all. - Do not use ReverseHttpProxy or ReverseWebSocketProxy for any servers that may potentially send a set-cookie response. However, it's best to upgrade to the latest version. References fixed in #10

    Recommended action: Upgrade to 0.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:osv.dev (1)github.com (2)Source checked Evidence →