CVE-2022-28131Uncontrolled Recursion in Standard Library Encoding XML

Severity
7.5HIGHNVD
OSV6.5
EPSS
0.0%
top 96.86%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 10
Latest updateJan 9

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages2 packages

CVEListV5go_standard_library/encoding_xml1.18.0-01.18.4+1
NVDgolang/go1.18.01.18.4+1

Also affects: Fedora 35

🔴Vulnerability Details

6
OSV
golang-1.13, golang-1.16 vulnerabilities2024-01-09
OSV
golang-1.18 vulnerabilities2023-04-25
GHSA
GHSA-3p2w-3263-9gr3: Uncontrolled recursion in Decoder2022-08-11
OSV
CVE-2022-28131: Uncontrolled recursion in Decoder2022-08-10
CVEList
Stack exhaustion from deeply nested XML documents in encoding/xml2022-08-09

📋Vendor Advisories

5
Ubuntu
Go vulnerabilities2024-01-09
Ubuntu
Go vulnerabilities2023-04-25
Microsoft
Stack exhaustion from deeply nested XML documents in encoding/xml2022-08-09
Red Hat
golang: encoding/xml: stack exhaustion in Decoder.Skip2022-07-12
Debian
CVE-2022-28131: golang-1.15 - Uncontrolled recursion in Decoder.Skip in encoding/xml before Go 1.17.12 and Go ...2022
CVE-2022-28131 — Uncontrolled Recursion | cvebase