CVE-2022-28131
Grafana vulnerability analysis and mitigation

Overview

Uncontrolled recursion in Decoder.Skip in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a deeply nested XML document. The vulnerability was discovered by the Go Security team and independently reported by Juho Nurminen of Mattermost, and was assigned CVE-2022-28131 (MITRE, NVD).

Technical details

The vulnerability exists in the encoding/xml package's Decoder.Skip functionality when processing deeply nested XML documents. The issue stems from uncontrolled recursion that can lead to stack exhaustion. The vulnerability has a CVSS 3.1 Base Score of 7.5 (High), with attack vector being Network, attack complexity Low, and requiring no privileges or user interaction (Ubuntu).

Impact

When exploited, this vulnerability can cause a denial of service through application panic due to stack exhaustion. The impact is primarily on availability, with no direct effect on confidentiality or integrity of the system (Ubuntu).

Mitigation and workarounds

The vulnerability has been fixed in Go versions 1.17.12 and 1.18.4. The fix involves using an iterative approach for Skip rather than a recursive one to prevent stack exhaustion in deeply nested structures. Users should upgrade to these or later versions to mitigate the vulnerability (Golang Announce).

Additional resources


SourceThis report was generated using AI

Related Grafana vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-41115CRITICAL10
  • GrafanaGrafana
  • grafana-fips-12.0
NoYesNov 21, 2025
CVE-2025-66031HIGH8.7
  • JavaScriptJavaScript
  • opensearch-dashboards-2-fips
NoYesNov 26, 2025
CVE-2025-61725HIGH7.5
  • cAdvisorcAdvisor
  • cluster-api-helm-controller
NoYesOct 29, 2025
CVE-2025-61723HIGH7.5
  • cAdvisorcAdvisor
  • tempo-fips
NoYesOct 29, 2025
CVE-2025-61724MEDIUM5.3
  • cAdvisorcAdvisor
  • direnv
NoYesOct 29, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management