Name | CVE-2021-27918 |
Description | encoding/xml in Go before 1.15.9 and 1.16.x before 1.16.1 has an infinite loop if a custom TokenReader (for xml.NewTokenDecoder) returns EOF in the middle of an element. This can occur in the Decode, DecodeElement, or Skip method. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
golang (PTS) | jessie, jessie (lts) | 2:1.3.3-1+deb8u5 | vulnerable |
golang-1.11 (PTS) | buster (security), buster, buster (lts) | 1.11.6-1+deb10u7 | 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 |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
golang | source | (unstable) | (unfixed) | | | |
golang-1.11 | source | (unstable) | (unfixed) | | | |
golang-1.15 | source | (unstable) | 1.15.9-1 | | | |
golang-1.16 | unknown | (unstable) | 1.16.3-1 | | | |
golang-1.7 | source | (unstable) | (unfixed) | | | |
golang-1.8 | source | (unstable) | (unfixed) | | | |
Notes
[buster] - golang-1.11 <postponed> (Limited support, minor issue, DoS)
[stretch] - golang-1.8 <postponed> (Minor issue, DoS)
[stretch] - golang-1.7 <postponed> (Minor issue, DoS)
https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw
https://github.com/golang/go/issues/44913
[jessie] - golang <postponed> (Minor issue, follow buster status)