bandit is vulnerable to Uncontrolled Resource Consumption
87
CVE Score
High
Uncontrolled Resource Consumption
Affected versions of bandit are vulnerable to uncontrolled resource consumption in HTTP/2 handling. When a response exceeds the connection or stream send window, the sending stream blocks with a 15 second deadline, but that deadline is reset every time the peer makes partial progress (any WINDOW_UPDATE on stream 0, any SETTINGS frame, or any stream WINDOW_UPDATE). An unauthenticated remote attacker can drip tiny WINDOW_UPDATE frames every few seconds to keep blocked stream processes, their Plug state and any resources held mid-response alive indefinitely, and repeat this across streams and connections to exhaust server processes and memory.
Upgrade the bandit library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application serves HTTP/2 traffic through bandit (HTTP/2 is enabled by default).
1.4.0 - 1.12.5
Fixed in 1.13.0bandit is vulnerable to Uncontrolled Resource Consumption in versions 1.4.0 - 1.12.5.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.