ADVISORIES

Red Hat VEX

RHVEX-CVE-2021-27918

golang: encoding/xml: infinite loop when using xml.NewTokenDecoder with a custom TokenReader

Moderate No fix available CVE-2021-27918

Details

An infinite loop vulnerability was found in golang. If an application defines a custom token parser initializing with xml.NewTokenDecoder it is possible for the parsing loop to never return. An attacker could potentially craft a malicious XML document which has an XML element with EOF within it, causing the parsing application to endlessly loop, resulting in a Denial of Service (DoS).

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:7buildah
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7cpp
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7gcc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7gcc-c++
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7gcc-gfortran
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7gcc-gnat
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7gcc-go
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7gcc-objc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7gcc-objc++
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7gcc-plugin-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libasan
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libasan-static
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libatomic
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libatomic-static
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libcilkrts
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libgcc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libgfortran
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libgfortran-static
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libgfortran4
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libgfortran5
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libgnat
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libgnat-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libgnat-static
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libgo
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libgo-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libgo-static
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libgomp
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libitm
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libitm-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libitm-static
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libmpx
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libmudflap
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libmudflap-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libmudflap-static
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libobjc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libquadmath
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libquadmath-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libquadmath-static
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libstdc++
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libstdc++-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libstdc++-docs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libstdc++-static
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libtsan
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7libtsan-static
All versions, no fix (out of support scope)

References