REDHAT-BUG-2575873: Low severity OpenSSL OpenSSL vulnerability
Calling EVPEncodeBlock() with an input length close to INTMAX may overflow the calculation of the encoded output size and write past the end of the caller-supplied output buffer.
Calling EVPEncodeBlock() with an input length close to INTMAX may overflow the calculation of the encoded output size and write past the end of the caller-supplied output buffer.
An application must call EVP_EncodeBlock() with an input length close to INT_MAX and provide an output buffer whose allocation relies on the incorrectly calculated encoded size.
The issue is in an application call to EVP_EncodeBlock(), not merely the presence of OpenSSL. Exploitation requires processing an exceptionally large input length close to INT_MAX.
Review code paths that call EVP_EncodeBlock() and determine whether attacker-influenced data can cause the supplied input length to approach INT_MAX. Also check whether the caller allocates the output buffer based on the encoded-size calculation.