cbcvebase.
CVE-2021-27918
published 2021-03-11

CVE-2021-27918: 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…

PriorityP338high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
2.54%
83.0th percentile
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.

Affected

14 ranges
VendorProductVersion rangeFixed in
debiangolang-1.15< golang-1.15 1.15.9-1 (bullseye)golang-1.15 1.15.9-1 (bullseye)
golanggo< 1.15.91.15.9
golanggo>= 1.16.0 < 1.16.11.16.1
msrcazl3_golang_1.23.12-1_on_azure_linux_3.0
msrcazl3_golang_1.23.9-1_on_azure_linux_3.0
msrcazl3_golang_1.24.3-1_on_azure_linux_3.0
msrcazl3_python-tensorboard_2.11.0-3_on_azure_linux_3.0
msrcazl3_python-tensorboard_2.16.2-2_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl_mariner_1.0_arm
msrccbl_mariner_1.0_x64
paloaltopan-os
redhatopenshift_serverless< 1.17.01.17.0

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.