NIXPKGS-2026-1544
GitHub issue
published on
Permalink
CVE-2026-42545
5.9 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): None (N)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): High (H)
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse accepted
- @LeSuisse published on GitHub
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 and header value constructors, so malformed output from the application becomes a process abort instead of a handled error. This vulnerability is fixed in 2.7.4.
References
Affected products
granian
- ==>= 0.2.0, < 2.7.4
Matching in nixpkgs
pkgs.granian
Rust HTTP server for Python ASGI/WSGI/RSGI applications
pkgs.python312Packages.granian
Rust HTTP server for Python ASGI/WSGI/RSGI applications
pkgs.python313Packages.granian
Rust HTTP server for Python ASGI/WSGI/RSGI applications
pkgs.python314Packages.granian
Rust HTTP server for Python ASGI/WSGI/RSGI applications
Package maintainers
-
@lucastso10 Lucas Teixeira Soares <lucastso10@gmail.com>
-
@pbsds Peder Bergebakken Sundt <pbsds@hotmail.com>