DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2020-25574. Reason: This candidate is a duplicate of…
cve-program · CVE-2019-25008
RejectedDO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2020-25574. Reason: This candidate is a duplicate of CVE-2020-25574. Notes: All CVE users should reference CVE-2020-25574 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidental usage
Read the publisher's advisorycve-program · CVE-2020-25574
PublishedAn 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).
Read the publisher's advisoryeuvd · EUVD-2021-1930
PublishedAn 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).
Read the publisher's advisoryeuvd · EUVD-2022-6193
PublishedDO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2020-25574. Reason: This candidate is a duplicate of CVE-2020-25574. Notes: All CVE users should reference CVE-2020-25574 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidental usage
Read the publisher's advisorynvd · CVE-2019-25008
RejectedRejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2020-25574. Reason: This candidate is a duplicate of CVE-2020-25574. Notes: All CVE users should reference CVE-2020-25574 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidental usage
Read the publisher's advisorynvd · CVE-2020-25574
PublishedAn 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).
Read the publisher's advisoryosv · GHSA-x7vr-c387-8w57
PublishedHeaderMap::reserve() used usize::next_power_of_two() to calculate the increased capacity. However, next_power_of_two() silently overflows to 0 if given a sufficiently large number in release mode. If the map was not empty when the overflow happens, the library will invoke self.grow(0) and start infinite probing. This allows an attacker who controls the argument to reserve() to cause a potential denial of service (DoS). The flaw was corrected in 0.1.20 release of http crate.
Read the publisher's advisoryosv · GHSA-xvc9-xwgj-4cq9
Withdrawn### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-x7vr-c387-8w57. This link is maintained to preserve external references. ### Original Description HeaderMap::reserve() used usize::next_power_of_two() to calculate the increased capacity. However, next_power_of_two() silently overflows to 0 if given a sufficiently large number in release mode. If the map was not empty when the overflow happens, the library will invoke self.grow(0) and start infinite probing. This allows an attacker who controls the argument to reserve() to cause a potential denial of service (DoS). The flaw was corrected in 0.1.20 release of http crate.
Read the publisher's advisoryosv · RUSTSEC-2019-0033
Published`HeaderMap::reserve()` used `usize::next_power_of_two()` to calculate the increased capacity. However, `next_power_of_two()` silently overflows to 0 if given a sufficiently large number in release mode. If the map was not empty when the overflow happens, the library will invoke `self.grow(0)` and start infinite probing. This allows an attacker who controls the argument to `reserve()` to cause a potential denial of service (DoS). The flaw was corrected in 0.1.20 release of `http` crate.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2019-25008 · CVE overview and exploitation status
CVE-2020-25574 · CVE overview and exploitation status
cve-program · CVE-2019-25008
cve-program · CVE-2020-25574
euvd · EUVD-2021-1930
euvd · EUVD-2022-6193
nvd · CVE-2019-25008
nvd · CVE-2020-25574
osv · GHSA-x7vr-c387-8w57
- https://nvd.nist.gov/vuln/detail/CVE-2020-25574
- https://github.com/hyperium/http/issues/352
- https://github.com/hyperium/http
- https://rustsec.org/advisories/RUSTSEC-2019-0033.html
osv · GHSA-xvc9-xwgj-4cq9
- https://nvd.nist.gov/vuln/detail/CVE-2019-25008
- https://github.com/hyperium/http/issues/352
- https://github.com/hyperium/http
- https://rustsec.org/advisories/RUSTSEC-2019-0033.html
osv · RUSTSEC-2019-0033
Related changes
Linked by CVE identifierNo related changes are available here.