Resource exhaustion in Nghttp2
CVE-2020-11080
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.053, 92.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nghttp2 — versions < 1.41.0
- Node.js
- Oracle Banking Extensibility Workbench — versions 14.3.0, 14.4.0
- Oracle Blockchain Platform
- Oracle Enterprise Communications Broker — versions 3.1.0, 3.2.0
- Oracle Graalvm — versions 19.3.2, 20.1.0
- Oracle MySQL
- Debian Linux — versions 9.0, 10.0
- Fedoraproject Fedora — versions 31, 33
- openSUSE Leap — versions 15.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2020-11080). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- DSA-4696 (vendor-advisory, Third Party Advisory)
- openSUSE-SU-2020:0802 (vendor-advisory, Mailing List, Third Party Advisory)
- FEDORA-2020-f7d15c8b77 (vendor-advisory)
- www.oracle.com/security-alerts/cpujul2020.html (Third Party Advisory)
- github.com/nghttp2/nghttp2/security/advisories/GHSA-q5wr-xfw9-q7xr (Patch, Third Party Advisory)
- github.com/nghttp2/nghttp2/commit/336a98feb0d56b9ac54e12736b18785c27f75090 (Patch, Third Party Advisory)
- github.com/nghttp2/nghttp2/commit/f8da73bd042f810f34d19f9eae02b46d870af394 (Patch, Third Party Advisory)
- www.oracle.com/security-alerts/cpuoct2020.html (Third Party Advisory)
- FEDORA-2020-43d5a372fc (vendor-advisory)
- www.oracle.com/security-alerts/cpujan2021.html (Third Party Advisory)