Em resumo
- CVE-2021-27918 é uma vulnerabilidade ALTO (CVSS 7.5) que afeta stdlib, go (golang).
- Chance de exploração nos próximos 30 dias (EPSS): 2.5%, maior que 84.5% das vulnerabilidades.
- Correção: atualize para 1.16.1, 1.15.9 ou posterior.
| 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