7.5Hoch

CVE-2022-30633Stack exhaustion when unmarshaling certain documents in encoding/xml

Go standard library encoding/xml Veröffentlicht: (vor 4 Jahren)

Beschreibung

Uncontrolled recursion in Unmarshal 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 unmarshalling an XML document into a Go struct which has a nested field that uses the 'any' field tag.

Schwachstellentyp (CWE): CWE-674

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
Go standard library encoding/xml < 1.17.12, 1.18.0-0 – < 1.18.4

Referenzen und Patches