RUSTSEC-2022-0025

    Dashboard / Vulnerabilities / RUSTSEC-2022-0025

    RUSTSEC-2022-0025

    Published: 3 May 2022Last Modified: 8 Nov 2023

    Summary: Resource leakage when decoding certificates and keys

    Details: The `OPENSSL_LH_flush()` function, which empties a hash table, contains a bug that breaks reuse of the memory occupied by the removed hash table entries. This function is used when decoding certificates or keys. If a long lived process periodically decodes certificates or keys its memory usage will expand without bounds and the process might be terminated by the operating system causing a denial of service. Also traversing the empty hash table entries will take increasingly more time. Typically such long lived processes might be TLS clients or TLS servers configured to accept client certificate authentication.

    Affected packages

    Package

    Name: openssl-src

    Purl: pkg:cargo/openssl-src

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 300.0.0
    Fixed -300.0.6

    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
    RUSTSEC-2022-0025 | CVE-DB