High, CVSS 7.5crates.ioPublished
Excessive memory usage in tokio-rustls
CVE-2020-35875 · GHSA-2jfv-g3fh-xq3v
- Affected
- crates.io tokio-rustls >= 0.12.0, < 0.12.3; >= 0.13.0, < 0.13.1
- Fixed in
- 0.13.10.12.3· Vendor fix available
- Issue
- tokio-rustls does not call processnewpackets immediately after read, so the expected termination condition wantsread 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.
Recommended action: Upgrade to 0.13.1 or 0.12.3 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.