Amazon Linux 2 Security Advisory: ALAS-2020-1445
Advisory Release Date: 2020-06-26 22:54 Pacific
Advisory Updated Date: 2020-07-01 00:02 Pacific
In nghttp2 before version 1.41.0, the overly large HTTP/2 SETTINGS frame payload causes denial of service. The proof of concept attack involves a malicious client constructing a SETTINGS frame with a length of 14,400 bytes (2400 individual settings entries) over and over again. The attack causes the CPU to spike at 100%. nghttp2 v1.41.0 fixes this vulnerability. There is a workaround to this vulnerability. Implement nghttp2_on_frame_recv_callback callback, and if received frame is SETTINGS frame and the number of settings entries are large (e.g., > 32), then drop the connection. (CVE-2020-11080)
Affected Packages:
nghttp2
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update nghttp2 to update your system.
aarch64:
nghttp2-1.41.0-1.amzn2.aarch64
libnghttp2-1.41.0-1.amzn2.aarch64
libnghttp2-devel-1.41.0-1.amzn2.aarch64
nghttp2-debuginfo-1.41.0-1.amzn2.aarch64
i686:
nghttp2-1.41.0-1.amzn2.i686
libnghttp2-1.41.0-1.amzn2.i686
libnghttp2-devel-1.41.0-1.amzn2.i686
nghttp2-debuginfo-1.41.0-1.amzn2.i686
src:
nghttp2-1.41.0-1.amzn2.src
x86_64:
nghttp2-1.41.0-1.amzn2.x86_64
libnghttp2-1.41.0-1.amzn2.x86_64
libnghttp2-devel-1.41.0-1.amzn2.x86_64
nghttp2-debuginfo-1.41.0-1.amzn2.x86_64