CVE-2022-30633

Public on 2022-08-10
Modified on 2023-03-06
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.
Severity
Medium severity
Medium
CVSS v3 Base Score
6.2
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Core go-rpm-macros 2022-10-17 ALAS2-2022-1863 Fixed
Amazon Linux 1 golang 2022-09-15 ALAS-2022-1635 Fixed
Amazon Linux 2 - Core golang 2022-09-15 ALAS2-2022-1846 Fixed
Amazon Linux 2023 golang 2023-02-17 ALAS2023-2023-048 Fixed
Amazon Linux 2023 golang-github-cpuguy83-md2man 2023-02-17 ALAS2023-2023-047 Fixed
Amazon Linux 2 - Core golang-github-godbus-dbus 2022-10-17 ALAS2-2022-1858 Fixed
Amazon Linux 2 - Core golang-github-gorilla-context 2022-10-17 ALAS2-2022-1859 Fixed
Amazon Linux 2 - Core golang-github-gorilla-mux 2022-10-17 ALAS2-2022-1860 Fixed
Amazon Linux 2 - Core golang-github-kr-pty 2022-10-17 ALAS2-2022-1864 Fixed
Amazon Linux 2 - Core golang-github-syndtr-gocapability 2022-10-17 ALAS2-2022-1865 Fixed
Amazon Linux 2 - Core golang-googlecode-net 2022-10-17 ALAS2-2022-1861 Fixed
Amazon Linux 2 - Core golang-googlecode-sqlite 2022-10-17 ALAS2-2022-1862 Fixed
Amazon Linux 2 - Core golist 2022-09-15 ALAS2-2022-1847 Fixed
Amazon Linux 2023 golist 2023-02-17 ALAS2023-2023-046 Fixed
Amazon Linux 2 - Docker Extra runc 2022-09-30 ALAS2DOCKER-2022-020 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD CVSSv3 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H