{"id":"RUSTSEC-2020-0019","summary":"tokio-rustls reads may cause excessive memory usage","details":"`tokio-rustls` does not call `process_new_packets` immediately after `read`,\nso the expected termination condition `wants_read` always returns true.\nAs long as new incoming data arrives faster than it is processed\nand the reader does not return pending, data will be buffered.\n\nThis may cause DoS.","aliases":["CVE-2020-35875","GHSA-2jfv-g3fh-xq3v"],"modified":"2023-11-08T04:03:36.949759Z","published":"2020-05-19T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/tokio-rustls"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0019.html"},{"type":"WEB","url":"https://github.com/tokio-rs/tls/pull/14"}],"affected":[{"package":{"name":"tokio-rustls","ecosystem":"crates.io","purl":"pkg:cargo/tokio-rustls"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.12.0"},{"fixed":"0.12.3"},{"introduced":"0.13.0"},{"fixed":"0.13.1"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"os":[],"arch":[],"functions":[]}},"database_specific":{"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","categories":["denial-of-service"],"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0019.json","informational":null}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}