CVE-2020-25574
HIGH 7.5CVSS 3.1Integer Overflow/Infinite Loop in the http crate
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).
- Published
- 14 Sep 2020
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-190CWE-835
- Also known as
- CVE-2019-25008GHSA-x7vr-c387-8w57GHSA-xvc9-xwgj-4cq9RUSTSEC-2019-0033
- Sources
- NVDJSONOSV GHSA-x7vr-c387-8w57JSONOSV GHSA-xvc9-xwgj-4cq9JSONOSV RUSTSEC-2019-0033JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hyper | httpcpe:2.3:a:hyper:http:*:*:*:*:*:*:*:* |
< 0.1.20 | 0.1.20 |
| OSV | crates.io | http | < 0.1.20 | 0.1.20 |
| OSV | crates.io | http | >= 0.0.0-0, < 0.1.20 | 0.1.20 |
References
- https://github.com/hyperium/http/issues/352 · Exploit, Patch, Third Party Advisory, WEB, REPORT
- https://rustsec.org/advisories/RUSTSEC-2019-0033.html · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-25574 · ADVISORY
- https://github.com/hyperium/http · PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2019-25008 · ADVISORY
- https://crates.io/crates/http · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 14 Sep 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Jun 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Nov 2019)