CVE-2019-25008
UNKNOWN
Published 2020-12-31T08:32:00
Actions:
Expert Analysis
Professional remediation guidance
Get tailored security recommendations from our analyst team for CVE-2019-25008. We'll provide specific mitigation strategies based on your environment and risk profile.
No CVSS data available
Description
No description available
Available Exploits
No exploits available for this CVE.
Related News
No news articles found for this CVE.
GitHub Security Advisories
Community-driven vulnerability intelligence from GitHub
✓ GitHub Reviewed
HIGH
Duplicate Advisory: Integer Overflow in HeaderMap::reserve() can cause Denial of Service
GHSA-xvc9-xwgj-4cq9Advisory Details
### 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.
Affected Packages
crates.io
http
ECOSYSTEM:
≥0
<0.1.20
CVSS Scoring
CVSS Score
7.5
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
Advisory provided by GitHub Security Advisory Database. Published: June 16, 2022, Modified: February 21, 2024
Published: 2020-12-31T08:32:00
Last Modified: 2021-03-07T19:23:00
Copied to clipboard!