ALAS2-2019-1362


Amazon Linux 2 Security Advisory: ALAS-2019-1362
Advisory Release Date: 2019-11-11 17:41 Pacific
Advisory Updated Date: 2019-11-14 03:17 Pacific
Severity: Medium

Issue Overview:

If an application encounters a fatal protocol error and then calls SSL_shutdown() twice (once to send a close_notify, and once to receive one) then OpenSSL can respond differently to the calling application if a 0 byte record is received with invalid padding compared to if a 0 byte record is received with an invalid MAC. If the application then behaves differently based on that in a way that is detectable to the remote peer, then this amounts to a padding oracle that could be used to decrypt data. In order for this to be exploitable "non-stitched" ciphersuites must be in use. Stitched ciphersuites are optimised implementations of certain commonly used ciphersuites. Also the application must call SSL_shutdown() twice even if a protocol error has occurred (applications should not do this but some do anyway). Fixed in OpenSSL 1.0.2r (Affected 1.0.2-1.0.2q). (CVE-2019-1559 )

The OpenSSL DSA signature algorithm has been shown to be vulnerable to a timing side channel attack. An attacker could use variations in the signing algorithm to recover the private key. Fixed in OpenSSL 1.1.1a (Affected 1.1.1). Fixed in OpenSSL 1.1.0j (Affected 1.1.0-1.1.0i). Fixed in OpenSSL 1.0.2q (Affected 1.0.2-1.0.2p). (CVE-2018-0734 )


Affected Packages:

openssl


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

New Packages:
aarch64:
    openssl-1.0.2k-19.amzn2.0.1.aarch64
    openssl-libs-1.0.2k-19.amzn2.0.1.aarch64
    openssl-devel-1.0.2k-19.amzn2.0.1.aarch64
    openssl-static-1.0.2k-19.amzn2.0.1.aarch64
    openssl-perl-1.0.2k-19.amzn2.0.1.aarch64
    openssl-debuginfo-1.0.2k-19.amzn2.0.1.aarch64

i686:
    openssl-1.0.2k-19.amzn2.0.1.i686
    openssl-libs-1.0.2k-19.amzn2.0.1.i686
    openssl-devel-1.0.2k-19.amzn2.0.1.i686
    openssl-static-1.0.2k-19.amzn2.0.1.i686
    openssl-perl-1.0.2k-19.amzn2.0.1.i686
    openssl-debuginfo-1.0.2k-19.amzn2.0.1.i686

src:
    openssl-1.0.2k-19.amzn2.0.1.src

x86_64:
    openssl-1.0.2k-19.amzn2.0.1.x86_64
    openssl-libs-1.0.2k-19.amzn2.0.1.x86_64
    openssl-devel-1.0.2k-19.amzn2.0.1.x86_64
    openssl-static-1.0.2k-19.amzn2.0.1.x86_64
    openssl-perl-1.0.2k-19.amzn2.0.1.x86_64
    openssl-debuginfo-1.0.2k-19.amzn2.0.1.x86_64