CVE-2020-11080: In nghttp2 before version 1.41.0, the overly large HTTP/2 SETTINGS frame payload causes denial of service.

High CVSS 7.5

CVE id
CVE-2020-11080
Published
Last modified

Affected packages

PackageAffected versionsFixed in
MySQL
Runtimes and servers
>= 7.3.0, <= 7.3.30
>= 7.4.0, <= 7.4.29
>= 7.5.0, <= 7.5.19
>= 7.6.0, <= 7.6.15
>= 8.0.0, <= 8.0.21
after 7.3.30, 7.4.29, 7.5.19, 7.6.15, 8.0.21
Node.js
Runtimes and servers
>= 10.0.0, <= 10.12.0
>= 10.13.0, < 10.21.0
>= 12.0.0, <= 12.12.0
>= 12.13.0, < 12.18.0
>= 14.0.0, <= 14.4.0
10.21.0, 12.18.0

How to fix it

MySQL (Runtimes and servers)

Upgrade MySQL to a release newer than the last affected update of the line you run (7.3.30, 7.4.29, 7.5.19, 7.6.15, 8.0.21).

mysqld --version
  • Install the patched MySQL release of your series (the mysql image tag or the MySQL packages) and restart the server.

Node.js (Runtimes and servers)

Upgrade Node.js to the fixed release of the line you run: 10.21.0, 12.18.0.

node --version
  • Install the patched Node.js release of your major line (nvm install, or the node image tag) everywhere the app runs and builds.

A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.

Details

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 nghttp2onframerecvcallback callback, and if received frame is SETTINGS frame and the number of settings entries are large (e.g., > 32), then drop the connection.

References

Am I affected?

Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.

or paste its content

Needed when you paste. package.json and pyproject.toml only have version ranges: use the lockfile next to them.

Only package names and versions are checked; the file itself is not kept. We use your email to send this report and nothing else unless you tick the box above. Privacy policy.

About this data

Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.