Skip to content
7.5 High

CVE-2022-30633 Uncontrolled recursion in Unmarshal in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a…

Description

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.

Affected products and versions

Product Affected versions Fixed in
encoding/xml 1.18 1.18.0-0 → < 1.18.4 1.18.4
encoding/xml 1.17 earliest → < 1.17.12 1.17.12

References

Timeline

  1. Published
  2. Last modified
The 3 CVEs of encoding/xml →
Track this CVE