GHSA-2jfv-g3fh-xq3v
Dashboard / Vulnerabilities / GHSA-2jfv-g3fh-xq3v
GHSA-2jfv-g3fh-xq3v
Published: 25 Aug 2021Last Modified: 8 Nov 2023
Aliases:
Summary: Excessive memory usage in tokio-rustls
Details: tokio-rustls does not call process_new_packets immediately after read, so the expected termination condition wants_read always returns true. As long as new incoming data arrives faster than it is processed and the reader does not return pending, data will be buffered. This may cause DoS.
References: https://nvd.nist.gov/vuln/detail/CVE-2020-35875, https://github.com/tokio-rs/tls/pull/14, https://github.com/tokio-rs/tls, https://rustsec.org/advisories/RUSTSEC-2020-0019.html
Affected packages
Package
Name: tokio-rustls
Purl: pkg:cargo/tokio-rustls
Affected ranges
Type: SEMVER
Events:
Introduced- 0.12.0
Fixed -0.12.3
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
