RUSTSEC-2020-0019

    Dashboard / Vulnerabilities / RUSTSEC-2020-0019

    RUSTSEC-2020-0019

    Published: 19 May 2020Last Modified: 8 Nov 2023

    Summary: tokio-rustls reads may cause excessive memory usage

    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.

    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