Advisory

GHSA-h86h-8ppg-mxmh

Also known as: BIT-golang-2021-31525, CVE-2021-31525, GO-2022-0236

Summary

golang.org/x/net/http/httpguts vulnerable to Uncontrolled Recursion

Details

golang.org/x/net/http/httpguts in Go before 1.15.12 and 1.16.x before 1.16.4 allows remote attackers to cause a denial of service (panic) via a large header to ReadRequest or ReadResponse. Server, Transport, and Client can each be affected in some configurations.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 19:03 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-20210428140749-89ef3d95e781 (semver)

Fixed versions

0.0.0-20210428140749-89ef3d95e781

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