Lucene search

K
cvelistGoCVELIST:CVE-2022-28131
HistoryAug 09, 2022 - 12:00 a.m.

CVE-2022-28131 Stack exhaustion from deeply nested XML documents in encoding/xml

2022-08-0900:00:00
Go
www.cve.org
2
stack exhaustion
xml documents
encoding/xml
uncontrolled recursion
decoder.skip
go 1.17.12
go 1.18.4
panic
attack

7.9 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

56.2%

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.

CNA Affected

[
  {
    "vendor": "Go standard library",
    "product": "encoding/xml",
    "collectionURL": "https://pkg.go.dev",
    "packageName": "encoding/xml",
    "versions": [
      {
        "version": "0",
        "lessThan": "1.17.12",
        "status": "affected",
        "versionType": "semver"
      },
      {
        "version": "1.18.0-0",
        "lessThan": "1.18.4",
        "status": "affected",
        "versionType": "semver"
      }
    ],
    "programRoutines": [
      {
        "name": "Decoder.Skip"
      }
    ],
    "defaultStatus": "unaffected"
  }
]