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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
NVD severity | medium |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
golang-1.11 (PTS) | buster | 1.11.6-1+deb10u3 | vulnerable |
| buster (security) | 1.11.6-1+deb10u4 | vulnerable |
golang-1.15 (PTS) | bullseye, sid | 1.15.9-1 | fixed |
golang-1.16 (PTS) | sid | 1.16.3-2 | fixed |
golang-1.7 (PTS) | stretch | 1.7.4-2+deb9u1 | vulnerable |
| stretch (security) | 1.7.4-2+deb9u3 | vulnerable |
golang-1.8 (PTS) | stretch | 1.8.1-1+deb9u1 | vulnerable |
| stretch (security) | 1.8.1-1+deb9u3 | vulnerable |
The information below is based on the following data on fixed versions.
Notes
[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