En bref
- CVE-2021-27918 est une vulnérabilité ÉLEVÉE (CVSS 7.5) touchant stdlib, go (golang).
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 2.5%, plus élevée que 84.5% des vulnérabilités.
- Correctif : mettre à jour vers 1.16.1, 1.15.9 ou plus récent.
| 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