CVE-2021-27918

NameCVE-2021-27918
Descriptionencoding/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.
SourceCVE (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 PackageReleaseVersionStatus
golang-1.15 (PTS)bullseye1.15.15-1~deb11u4fixed

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-1
golang-1.16source(unstable)1.16.3-1
golang-1.7source(unstable)(unfixed)
golang-1.8source(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

Search for package or bug name: Reporting problems