http is vulnerable to Improper Check or Handling of Exceptional Conditions
10
Low Risk
Affected versions of this package are vulnerable to a panic in the HeaderMap::try_reserve method due to an integer overflow in the to_raw_capacity helper function, which violates Rust's convention that try_* methods should never panic. It occurs when calculating the raw capacity for a header map, where a sufficiently large input causes a panic instead of returning a MaxSizeReached error. An attacker can exploit this by providing crafted input that triggers the overflow panic, leading to a denial of service by crashing the application.
You are affected if you are using a version that falls within the vulnerable range.
http is vulnerable to Improper Check or Handling of Exceptional Conditions in versions 0.1.0 - 1.3.1.
Upgrade the http library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant