CVE-2022-30633
Stack exhaustion when unmarshaling certain documents in encoding/xml
7.5
HIGH
CVSS 3.1
EPSS 0.13%
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.
How to fix CVE-2022-30633
To remediate CVE-2022-30633, upgrade the affected package to a fixed version below.
- —upgrade to 1.17.12 or later
- —no fix listed
- —upgrade to 1.19~rc2-1 or later
- —upgrade to 1.17.12 or later
Is CVE-2022-30633 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 1.17.12, >= 1.18.0, < 1.18.4
- from 0
- from 0, < 1.19~rc2-1
- from 0, < 1.17.12, >= 1.18.0-0, < 1.18.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |