Medium, CVSS 6.9crates.ioAmendedPublished
vibeio-http has a DoS vulnerability in HTTP/1.x chunked encoding parser triggered by maliciously crafted chunk lengths
GHSA-fx4f-mhw4-qm7j
- Affected
- crates.io vibeio-http < 0.3.2
- Fixed in
- 0.3.2· Vendor fix available
- Issue
- When using the affected versions of the vibeio-http crate, an attacker could craft a malicious HTTP/1.x request with a large chunk length (between usize::MAX - 1 and usize::MAX inclusive) and send it, causing the server to crash (integer overflow panic in debug builds, splitto out of bounds panic in release builds). This was fixed in vibeio-http 0.3.2 by erroring on the chunk length if it exceeds usize::MAX - 2 (using checkedadd() instead of + operator), preventing integer overflow.
Recommended action: Upgrade to 0.3.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.