GHSA-2jfv-g3fh-xq3vHighCVSS 7.5

Excessive memory usage in tokio-rustls

Published
August 25, 2021
Last Modified
June 13, 2023

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products2

  • rust/tokio-rustls:>= 0.12.0, < 0.12.3
  • rust/tokio-rustls:>= 0.13.0, < 0.13.1

🔗 References (4)