Live threats

All CVEs / Golang

CVE-2022-28131Golang Go

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Aug 10, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-674
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.17.12 1.17.12 go get stdlib@v1.17.12
Go stdlib ≥ 1.18.0-0 < 1.18.4 1.18.4 go get stdlib@v1.18.4

Per OSV / GitHub Advisories (GO-2022-0521). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.17.12
golanggo≥ 1.18.0 < 1.18.4
fedoraprojectfedora35
netappcloud_insights_telegrafall

Official sources

References

Links published by the sources. Open them with care.