Advisory

GO-2022-0536

Also known as: CVE-2019-9512, CVE-2019-9514, GHSA-39qc-96h7-956f, GHSA-hgr8-6h9x-f7q9

Summary

Reset flood in net/http and golang.org/x/net/http

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.

Severity

Not rated by the source.

Dates

Published
2022-08-01 22:20 UTC
Modified
2026-02-04 02:16 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.11.13, introduced 1.12.0-0, fixed 1.12.8 (semver)

Fixed versions

1.11.13, 1.12.8

Fix

The export has no generic command for this ecosystem.

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: Go Vulnerability Database · CC BY 4.0

Sources & licences