PT-2020-17507 · Tokio · Tokio-Rustls
Published
2020-05-19
·
Updated
2021-08-25
·
CVE-2020-35875
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
tokio-rustls versions prior to 0.13.1
Description
The issue is related to excessive memory usage that may occur when data arrives quickly. This happens because
tokio-rustls does not call process new packets immediately after read, causing the expected termination condition wants read to always return true. As a result, data will be buffered as long as new incoming data arrives faster than it is processed and the reader does not return pending. This may cause a Denial of Service (DoS).Recommendations
For versions prior to 0.13.1, update to version 0.13.1 or later to resolve the issue. As a temporary workaround, consider implementing measures to limit the rate of incoming data to prevent excessive buffering.
Fix
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Tokio-Rustls