Affected versions
Ubuntu20.04:LTS/nghttp2
- Affected versions
- <1.40.0-1ubuntu0.1
- Fixed version
- 1.40.0-1ubuntu0.1
UbuntuPro:16.04:LTS/nghttp2
- Affected versions
- <1.7.1-1ubuntu0.1~esm1
- Fixed version
- 1.7.1-1ubuntu0.1~esm1
UbuntuPro:18.04:LTS/nghttp2
- Affected versions
- <1.30.0-1ubuntu1+esm1
- Fixed version
- 1.30.0-1ubuntu1+esm1
Description
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.
Links
- https://github.com/nghttp2/nghttp2/commit/336a98feb0d56b9ac54e12736b18785c27f75090
- https://github.com/nghttp2/nghttp2/commit/f8da73bd042f810f34d19f9eae02b46d870af394
- https://github.com/nghttp2/nghttp2/security/advisories/GHSA-q5wr-xfw9-q7xr
- https://nodejs.org/en/blog/vulnerability/june-2020-security-releases/#http-2-large-settings-frame-dos-low-cve-2020-11080
- https://ubuntu.com/security/CVE-2020-11080
- https://ubuntu.com/security/notices/USN-6142-1
- https://www.cve.org/CVERecord?id=CVE-2020-11080

