ALAS-2021-1482


Amazon Linux AMI Security Advisory: ALAS-2021-1482
Advisory Release Date: 2021-02-23 20:18 Pacific
Advisory Updated Date: 2021-02-24 19:44 Pacific
Severity: Medium

Issue Overview:

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 permissible 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. (CVE-2021-23840 )

The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is maliciously constructed). This may subsequently result in a NULL pointer deref and a crash leading to a potential denial of service attack. (CVE-2021-23841 )


Affected Packages:

openssl


Issue Correction:
Run yum update openssl to update your system.

New Packages:
i686:
    openssl-devel-1.0.2k-16.153.amzn1.i686
    openssl-perl-1.0.2k-16.153.amzn1.i686
    openssl-debuginfo-1.0.2k-16.153.amzn1.i686
    openssl-1.0.2k-16.153.amzn1.i686
    openssl-static-1.0.2k-16.153.amzn1.i686

src:
    openssl-1.0.2k-16.153.amzn1.src

x86_64:
    openssl-static-1.0.2k-16.153.amzn1.x86_64
    openssl-devel-1.0.2k-16.153.amzn1.x86_64
    openssl-perl-1.0.2k-16.153.amzn1.x86_64
    openssl-1.0.2k-16.153.amzn1.x86_64
    openssl-debuginfo-1.0.2k-16.153.amzn1.x86_64