CVE-2020-25574 Integer Overflow/Infinite Loop in the http crate
An integer overflow in the Rust http crate's HeaderMap reserve function can cause an infinite loop, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-25574?
CVE-2020-25574 is a high-severity vulnerability in n/a, published on 14 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in the http crate before 0.1.20 for Rust. An integer overflow in HeaderMap::reserve() could result in denial of service (e.g., an infinite loop).
Which versions are affected by CVE-2020-25574?
4 open source packages ship an affected version, including http. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
http crates.io | All versions | 0.1.20 |
http crates.io | All versions | 0.1.20 |
http crates.io | All versions | 0.1.20 |
http crates.io | All versions | 0.1.20 |
Products include Hyper Http.
How do I fix CVE-2020-25574?
Upgrade http to 0.1.20 or later.
Is CVE-2020-25574 being exploited?
There is no known exploitation of CVE-2020-25574 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as CVE-2019-25008, DEBIAN-CVE-2020-25574, GHSA-x7vr-c387-8w57, GHSA-xvc9-xwgj-4cq9, UBUNTU-CVE-2020-25574.