Red Hat VEX
RHVEX-CVE-2021-27918
golang: encoding/xml: infinite loop when using xml.NewTokenDecoder with a custom TokenReader
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | buildah | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | cpp | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | gcc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | gcc-c++ | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | gcc-gfortran | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | gcc-gnat | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | gcc-go | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | gcc-objc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | gcc-objc++ | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | gcc-plugin-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libasan | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libasan-static | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libatomic | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libatomic-static | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libcilkrts | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libgcc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libgfortran | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libgfortran-static | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libgfortran4 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libgfortran5 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libgnat | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libgnat-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libgnat-static | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libgo | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libgo-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libgo-static | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libgomp | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libitm | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libitm-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libitm-static | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libmpx | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libmudflap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libmudflap-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libmudflap-static | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libobjc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libquadmath | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libquadmath-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libquadmath-static | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libstdc++ | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libstdc++-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libstdc++-docs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libstdc++-static | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libtsan | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | libtsan-static | All versions, no fix (out of support scope) |