Skip to content
OpenAdvisories

Package · PyPI

granian

2 known vulnerabilities.

2 results · Feed

  • Medium 5.9

    Granian: DoS via WSGI response header panic

    Granian is a Rust HTTP server for Python applications. From 0.2.0 to 2.7.4, Granian aborts a worker process if a WSGI application returns an invalid HTTP response header name or value. The WSGI response conversion path uses .unwrap() on both the header name a…

  • High 7.5

    Granian: Unauthenticated DoS via WebSocket subprotocol header panic

    Granian is a Rust HTTP server for Python applications. From 1.2.0 to 2.7.4, Granian aborts a worker process when an unauthenticated client sends a WebSocket upgrade request whose Sec-WebSocket-Protocol header contains non-ASCII bytes. The crash happens in Gra…