Name | CVE-2021-31525 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
golang (PTS) | jessie, jessie (lts) | 2:1.3.3-1+deb8u5 | fixed |
golang-1.11 (PTS) | buster, buster (security) | 1.11.6-1+deb10u4 | vulnerable |
golang-1.15 (PTS) | bullseye | 1.15.15-1~deb11u4 | fixed |
golang-1.7 (PTS) | stretch (security), stretch (lts), stretch | 1.7.4-2+deb9u5 | vulnerable |
golang-1.8 (PTS) | stretch (security), stretch (lts), stretch | 1.8.1-1+deb9u5 | vulnerable |
golang-golang-x-net (PTS) | bullseye | 1:0.0+git20210119.5f4716e+dfsg-4 | fixed |
sid, bookworm | 1:0.0+git20220728.c7608f3+dfsg-2 | fixed | |
golang-golang-x-net-dev (PTS) | stretch (security), stretch (lts), stretch | 1:0.0+git20161013.8b4af36+dfsg-3+deb9u1 | vulnerable |
buster | 1:0.0+git20181201.351d144+dfsg-3 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
golang | source | jessie | (not affected) | |||
golang | source | (unstable) | (unfixed) | |||
golang-1.11 | source | (unstable) | (unfixed) | |||
golang-1.15 | source | (unstable) | 1.15.9-2 | |||
golang-1.16 | unknown | (unstable) | 1.16.4-1 | |||
golang-1.7 | source | (unstable) | (unfixed) | |||
golang-1.8 | source | (unstable) | (unfixed) | |||
golang-golang-x-net | source | (unstable) | 1:0.0+git20210119.5f4716e+dfsg-3 | |||
golang-golang-x-net-dev | source | (unstable) | (unfixed) |
[buster] - golang-1.11 <no-dsa> (Minor issue)
[stretch] - golang-1.8 <postponed> (Minor issue, DoS, requires rebuilding reverse-dependencies)
[stretch] - golang-1.7 <postponed> (Minor issue, DoS, requires rebuilding reverse-dependencies)
[stretch] - golang-golang-x-net-dev <no-dsa> (Limited support in stretch)
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)
https://go-review.googlesource.com/c/net/+/313069
golang: introduced by https://github.com/golang/go/commit/ae080c1aecb129a3230e7afecdb4a16ad3da9b3c (go1.5beta1)
golang-golang-x-net: introduced by https://github.com/golang/net/commit/5916dcb167ed985a5b9e6871fbfd74848a4c170b
[jessie] - golang <not-affected> (Vulnerable code introduced later)