In breve
- CVE-2021-27918 è una vulnerabilità ALTO (CVSS 7.5) che riguarda stdlib, go (golang).
- Probabilità di sfruttamento nei prossimi 30 giorni (EPSS): 2.5%, superiore al 84.6% delle vulnerabilità.
- Correzione: aggiornare a 1.16.1, 1.15.9 o successiva.
| 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