Files
advisory-db/crates/openssl-src/RUSTSEC-2021-0057.md
2021-05-01 14:09:23 +02:00

706 B

[advisory]
id = "RUSTSEC-2021-0057"
package = "openssl-src"
aliases = ["CVE-2021-23840"]
categories = ["denial-of-service"]
date = "2021-05-01"
url = "https://www.openssl.org/news/secadv/20210216.txt"

[versions]
patched = [">= 111.14"]

Integer overflow in CipherUpdate

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.