Kurz gesagt
- CVE-2021-27918 ist eine Schwachstelle (HOCH (CVSS 7.5)) in stdlib, go (golang).
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 2.5%, höher als bei 84.5% aller Schwachstellen.
- Abhilfe: auf 1.16.1, 1.15.9 oder neuer aktualisieren.
| Package | Affected versions | Patched versions |
|---|
| stdlib Go | ≥ 1.16.0-0, < 1.16.1< 1.15.9
| 1.16.11.15.9
|
| go | ≥ 1.16.0, < 1.16.1< 1.15.9
| 1.16.11.15.9
|
Description
The Decode, DecodeElement, and Skip methods of an xml.Decoder provided by xml.NewTokenDecoder may enter an infinite loop when operating on a custom xml.TokenReader which returns an EOF in the middle of an open XML element.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free