Lucene search

K
rustsecRustsecRUSTSEC-2021-0057
HistoryMay 01, 2021 - 12:00 p.m.

Integer overflow in CipherUpdate

2021-05-0112:00:00
rustsec.org
29
integer overflow
cipherupdate
evp_cipherupdate
evp_encryptupdate
evp_decryptupdate
output length
platform
function call
negative value
application crash
information security
software

EPSS

0.008

Percentile

82.3%

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.