CVE-2021-31525

NameCVE-2021-31525
Descriptionnet/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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitylow

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-1.11 (PTS)buster1.11.6-1+deb10u3vulnerable
buster (security)1.11.6-1+deb10u4vulnerable
golang-1.15 (PTS)bullseye, sid1.15.9-5fixed
golang-1.16 (PTS)sid1.16.5-1fixed
golang-1.7 (PTS)stretch1.7.4-2+deb9u1vulnerable
stretch (security)1.7.4-2+deb9u3vulnerable
golang-1.8 (PTS)stretch1.8.1-1+deb9u1vulnerable
stretch (security)1.8.1-1+deb9u3vulnerable
golang-golang-x-net (PTS)bullseye, sid1:0.0+git20210119.5f4716e+dfsg-4fixed
golang-golang-x-net-dev (PTS)stretch1:0.0+git20161013.8b4af36+dfsg-3vulnerable
stretch (security)1:0.0+git20161013.8b4af36+dfsg-3+deb9u1vulnerable
buster1:0.0+git20181201.351d144+dfsg-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-1.11source(unstable)(unfixed)
golang-1.15source(unstable)1.15.9-2
golang-1.16source(unstable)1.16.4-1
golang-1.7source(unstable)(unfixed)
golang-1.8source(unstable)(unfixed)
golang-golang-x-netsource(unstable)1:0.0+git20210119.5f4716e+dfsg-3
golang-golang-x-net-devsource(unstable)(unfixed)

Notes

https://github.com/golang/go/issues/45710
https://github.com/golang/go/issues/45711 (1.15 backport)
https://github.com/golang/go/issues/45712 (1.16 backport)

Search for package or bug name: Reporting problems