Back to CVE catalog
CVE-2022-28131

Uncontrolled recursion in encoding/xml

Go standard library encoding/xml

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS summary v3.1

7.5High
Published:
Updated:
EPSS:
1.589%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Go standard libraryencoding/xmlAffected versions:
< 1.17.12Show full version range for encoding/xml
≥ 1.18.0-0, < 1.18.4
Vendor:Red HatCNV 4.12 for RHEL 7Affected versions:Source does not specify a version range
Vendor:Red HatCNV 4.12 for RHEL 8Affected versions:Source does not specify a version range
Vendor:Red HatMigration Toolkit for VirtualizationAffected versions:Source does not specify a version range
Vendor:Red HatNode Maintenance OperatorAffected versions:Source does not specify a version range
Vendor:Red HatNode Maintenance Operator 4.11 for RHEL 8Affected versions:Source does not specify a version range
Vendor:Red HatOSSO 1.1 for RHEL 8Affected versions:Source does not specify a version range
Vendor:Red HatOpenShift API for Data ProtectionAffected versions:Source does not specify a version range
Vendor:Red HatOpenShift Custom Metrics Autoscaler 2Affected versions:Source does not specify a version range
Vendor:Red HatOpenShift Developer Tools and ServicesAffected versions:Source does not specify a version range

1–10 of 64 · Page 1 of 7

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat · Red Hat VEX (adp)7.3 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
High
Attack vector
Local
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
SUSE · SUSE VEX (adp)6.2 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories13

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences