CVE-2021-31525

MEDIUM5.9EPSS 0.02%

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

Published: 5/24/2022Modified: 4/28/2026

Description

net/http 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.

Affected packages (6)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References (12)