RUSTSEC-2021-0057

    Dashboard / Vulnerabilities / RUSTSEC-2021-0057

    RUSTSEC-2021-0057

    Published: 1 May 2021Last Modified: 16 Dec 2024

    Summary: Integer overflow in CipherUpdate

    Details: Calls to `EVP_CipherUpdate`, `EVP_EncryptUpdate` and `EVP_DecryptUpdate` may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output length value will be negative. This could cause applications to behave incorrectly or crash.

    Affected packages

    Package

    Name: openssl-src

    Purl: pkg:cargo/openssl-src

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -111.14.0

    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-2021-0057 | CVE-DB