{"schemaVersion":3,"id":"CVE-2022-30633","aliases":["UBUNTU-CVE-2022-30633","DEBIAN-CVE-2022-30633","GO-2022-0523","BIT-golang-2022-30633"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-08-09T20:16:19.000Z","modified":"2026-03-09T16:53:13.209Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02086,"percentile":0.81313,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.1299999999999999,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01956},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02086,"percentile":0.81313}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02086,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02086,"percentile":0.81313}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-674","name":"Uncontrolled Recursion","description":"The product does not properly control the amount of recursion that takes place,  consuming excessive resources, such as allocated memory or the program stack.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/674.html"}],"affected":[{"vendor":"debian","product":"golang-1.19","name":"golang-1.19","label":"golang-1.19","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/golang-1.19","purlType":"deb","versions":[{"text":"< 1.19~rc2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.19~rc2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"golang-1.13","name":"golang-1.13","label":"golang-1.13","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/golang-1.13","purlType":"deb","versions":[{"text":"< 1.13.8-1ubuntu1~16.04.3+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 1.13.8-1ubuntu1~18.04.4+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.13.8-1ubuntu1.2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.13.8-1ubuntu2.22.04.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.13.8-1ubuntu1~16.04.3+esm3 | < 1.13.8-1ubuntu1~18.04.4+esm1 | < 1.13.8-1ubuntu1.2 | < 1.13.8-1ubuntu2.22.04.2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"golang-1.16","name":"golang-1.16","label":"golang-1.16","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/golang-1.16","purlType":"deb","versions":[{"text":"< 1.16.2-0ubuntu1~18.04.2+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.16.2-0ubuntu1~20.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.16.2-0ubuntu1~18.04.2+esm1 | < 1.16.2-0ubuntu1~20.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"golang-1.18","name":"golang-1.18","label":"golang-1.18","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/golang-1.18","purlType":"deb","versions":[{"text":"< 1.18.1-1ubuntu1~18.04.4","noFixRecorded":false,"fixedIn":null},{"text":"< 1.18.1-1ubuntu1~20.04.2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.18.1-1ubuntu1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.18.1-1ubuntu1~18.04.4 | < 1.18.1-1ubuntu1~20.04.2 | < 1.18.1-1ubuntu1.1","eol":null,"hubHref":null},{"vendor":"go standard library","product":"encoding/xml","name":"encoding/xml","label":"encoding/xml","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.17.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.18.0-0, < 1.18.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.17.12 | ≥ 1.18.0-0, < 1.18.4","eol":null,"hubHref":"/vendor/go_standard_library/encodingxml"},{"vendor":"golang","product":"go","name":"go","label":"go","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.17.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.18.0, < 1.18.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.17.12 | ≥ 1.18.0, < 1.18.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"go","label":"Go","category":"lang"}},"hubHref":"/vendor/golang/go"},{"vendor":"Go","product":"stdlib","name":"stdlib","label":"stdlib","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/stdlib","purlType":"golang","versions":[{"text":"≥ 1.18.0-0, < 1.18.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.18.0-0, < 1.18.4","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://go.dev/cl/417061","label":"go.dev/cl/417061","hostname":"go.dev","tags":["FIX","Patch","Vendor Advisory"]},{"url":"https://go.googlesource.com/go/+/c4c1993fd2a5b26fe45c09592af6d3388a3b2e08","label":"go.googlesource.com/go/+/c4c1993fd2a5b26fe45c09592af6d3388a3b2e08","hostname":"go.googlesource.com","tags":["FIX","Mailing List","Patch","Vendor Advisory"]},{"url":"https://go.dev/issue/53611","label":"go.dev/issue/53611","hostname":"go.dev","tags":["REPORT","Issue Tracking","Vendor Advisory"]},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","label":"groups.google.com/g/golang-announce/c/nqrv9fbR0zE","hostname":"groups.google.com","tags":["WEB","Mailing List","Vendor Advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0523","label":"pkg.go.dev/vuln/GO-2022-0523","hostname":"pkg.go.dev","tags":["Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-30633","label":"ubuntu.com/security/CVE-2022-30633","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/golang/go/commit/2924ced71d16297320e8ff18829c2038e6ad8d9b","label":"github.com/golang/go/commit/2924ced71d16297320e8ff18829c2038e6ad8d9b","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6038-1","label":"ubuntu.com/security/notices/USN-6038-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-6038-2","label":"ubuntu.com/security/notices/USN-6038-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-30633","label":"www.cve.org/CVERecord?id=CVE-2022-30633","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-30633","label":"security-tracker.debian.org/tracker/CVE-2022-30633","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30633","label":"nvd.nist.gov/vuln/detail/CVE-2022-30633","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2022-0262","OPENSUSE-SU-2024:12189-1","OPENSUSE-SU-2024:12190-1","RHSA-2022:5775","RHSA-2022:5799","RHSA-2022:5866","RHSA-2022:6042","RHSA-2022:6113","RHSA-2022:7519","RHSA-2022:7529","RHSA-2022:8057","RHSA-2023:0407","RHSA-2023:2758","RHSA-2023:2802","SUSE-SU-2022:2671-1","SUSE-SU-2022:2672-1","SUSE-SU-2023:2312-1","USN-6038-1","USN-6038-2"],"duplicates":[],"related":["OPENSUSE-SU-2024:12189-1","OPENSUSE-SU-2024:12190-1","SUSE-SU-2022:2671-1","SUSE-SU-2022:2672-1","SUSE-SU-2023:2312-1","USN-6038-1","USN-6038-2"]},"timeline":[{"kind":"published","date":"2022-08-09T20:16:19.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-03-09T16:53:13.209Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T04:25:58.226Z","stale":false,"partial":false}}