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.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2021-27918 - High Severity Vulnerability
Vulnerable Library - github.com/golang/net-e086a090c8fdb9982880f0fb6e3db47af1856533
[mirror] Go supplementary network libraries
Dependency Hierarchy: - github.com/googleapis/google-api-go-client-v0.25.0 (Root Library) - github.com/golang/oauth2-bf48bf16ab8d622ce64ec6ce98d2c98f916b6303 - :x: **github.com/golang/net-e086a090c8fdb9982880f0fb6e3db47af1856533** (Vulnerable Library)
Found in HEAD commit: 5a4a7def9ddff6354e22069c494feb0f30196e36
Found in base branch: dev/seed-tool
Vulnerability Details
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.
Publish Date: 2021-03-11
URL: CVE-2021-27918
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw
Release Date: 2021-03-11
Fix Resolution: 1.15.9, 1.16.1
Step up your Open Source Security Game with Mend here