Skip to content

GHSA-fx4f-mhw4-qm7j vibeio-http has a DoS vulnerability in HTTP/1.x chunked encoding parser triggered by maliciously crafted chunk lengths

MediumCVSS 6.9
Published
Updated
Exploit status
No public exploit known

Description

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, split_to 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 checked_add() instead of + operator), preventing integer overflow.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
crates.io vibeio-http(crates.io) < 0.3.2; >= 0.0.0-0, < 0.3.2 0.3.2 Fixed

Affected products

ProductAffected versionsFixed in
crates.io vibeio-http(crates.io) < 0.3.2 0.3.2
crates.io vibeio-http(crates.io) >= 0.0.0-0, < 0.3.2 0.3.2

References