Advisory

GHSA-xrjj-mj9h-534m

Also known as: BIT-golang-2022-41717, CVE-2022-41717, GO-2022-1144

Summary

golang.org/x/net/http2 vulnerable to possible excessive memory growth

Details

An attacker can cause excessive memory growth in a Go server accepting HTTP/2 requests. HTTP/2 server connections contain a cache of HTTP header keys sent by the client. While the total number of entries in this cache is capped, an attacker sending very large keys can cause the server to allocate approximately 64 MiB per open connection.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-12-08 21:30 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

golang.org/x/net/http2

Go · All systems

Affected

  • introduced 0, fixed 0.4.0 (semver)

Fixed versions

0.4.0

Fix

golang.org/x/net

Go · All systems

Affected

  • introduced 0, fixed 0.4.0 (semver)

Fixed versions

0.4.0

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