Advisory

GHSA-qgm6-9472-pwq7

Also known as: BIT-node-2021-23840, BIT-node-min-2021-23840, CVE-2021-23840, RUSTSEC-2021-0057

Summary

Integer Overflow in openssl-src

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. OpenSSL versions 1.1.1i and below are affected by this issue. Users of these versions should upgrade to OpenSSL 1.1.1j. OpenSSL versions 1.0.2x and below are affected by this issue. However OpenSSL 1.0.2 is out of support and no longer receiving public updates. Premium support customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should upgrade to 1.1.1j. Fixed in OpenSSL 1.1.1j (Affected 1.1.1-1.1.1i). Fixed in OpenSSL 1.0.2y (Affected 1.0.2-1.0.2x).

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:52 UTC
Modified
2024-12-16 15:27 UTC

Affected packages and fixes

openssl-src

crates.io · All systems

Affected

  • introduced 0, fixed 111.14.0 (semver)

Fixed versions

111.14.0

Fix

  • Fixed version 111.14.0
    cargo update -p openssl-src --precise 111.14.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences