Improper Neutralization Affecting nghttp2/nghttp2 package, versions [,1.41.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.76% (82nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-NGHTTP2NGHTTP2-2365417
  • published12 Jan 2022
  • disclosed3 Jun 2020
  • creditUnknown

Introduced: 3 Jun 2020

CVE-2020-11080  (opens in a new tab)
CWE-707  (opens in a new tab)

How to fix?

Upgrade nghttp2/nghttp2 to version 1.41.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization. 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.

CVSS Scores

version 3.1