CVE-2021-23840: Integer Overflow or Wraparound
(updated )
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.
References
Detect and mitigate CVE-2021-23840 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →