Improper Enforcement of Message or Data Structure
Affecting nghttp2 package, versions <1.39.2-r1
Report new vulnerabilitiesOverview
Affected versions of this package are vulnerable to Improper Enforcement of Message or Data Structure. 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.
Remediation
Upgrade nghttp2
to version or higher.
References
CVSS Score
-
Attack VectorNetwork
-
Attack ComplexityLow
-
Privileges RequiredNone
-
User InteractionNone
-
ScopeUnchanged
-
ConfidentialityNone
-
IntegrityNone
-
AvailabilityHigh
- CVE
- CVE-2020-11080
- CWE
- CWE-707
- Snyk ID
- SNYK-ALPINE310-NGHTTP2-588159
- Disclosed
- 03 Jun, 2020
- Published
- 21 Jul, 2020