Advisory

GHSA-39qc-96h7-956f

Also known as: CVE-2019-9512, CVE-2019-9514, GHSA-hgr8-6h9x-f7q9, GO-2022-0536

Summary

golang.org/x/net/http vulnerable to a reset flood

Details

Some HTTP/2 implementations are vulnerable to a reset flood, potentially leading to a denial of service. Servers that accept direct connections from untrusted clients could be remotely made to allocate an unlimited amount of memory, until the program crashes. The attacker opens a number of streams and sends an invalid request over each stream that should solicit a stream of RST_STREAM frames from the peer. Depending on how the peer queues the RST_STREAM frames, this can consume excess memory, CPU, or both.

Specific Go Packages Affected
golang.org/x/net/http2

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 16:53 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

golang.org/x/net

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20190813141303-74dc4d7220e7 (semver)

Fixed versions

0.0.0-20190813141303-74dc4d7220e7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences