CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5). EPSS 2.6% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.17.12, 1.18.4.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hstdlib (Go): fixed in 1.17.12, 1.18.4Explain CVE-2022-28131 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-28131?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-28131?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-28131 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Go standard library encoding/xml | before 1.17.12 |
| Go standard library encoding/xml | from 1.18.0-0 before 1.18.4 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GO-2022-0521 | Go | stdlib | <1.17.12 >=1.18.0-0 <1.18.4 | 1.17.12, 1.18.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | golang-1.15 | no fix listed | DEBIAN-CVE-2022-28131 |
| Ubuntu | 18.04:LTS | golang-1.18 | 1.18.1-1ubuntu1~18.04.4 | UBUNTU-CVE-2022-28131 USN-6038-1 |
| Ubuntu | 20.04:LTS | golang-1.13 | 1.13.8-1ubuntu1.2 | UBUNTU-CVE-2022-28131 USN-6038-2 |
| Ubuntu | 20.04:LTS | golang-1.16 | 1.16.2-0ubuntu1~20.04.1 | UBUNTU-CVE-2022-28131 USN-6038-2 |
| Ubuntu | 20.04:LTS | golang-1.18 | 1.18.1-1ubuntu1~20.04.2 | UBUNTU-CVE-2022-28131 USN-6038-1 |
| Ubuntu | 22.04:LTS | golang-1.13 | 1.13.8-1ubuntu2.22.04.2 | UBUNTU-CVE-2022-28131 USN-6038-2 |
| Ubuntu | 22.04:LTS | golang-1.18 | 1.18.1-1ubuntu1.1 | UBUNTU-CVE-2022-28131 USN-6038-1 |
| Ubuntu | Pro:16.04:LTS | golang-1.13 | 1.13.8-1ubuntu1~16.04.3+esm3 | UBUNTU-CVE-2022-28131 USN-6038-2 |
| Ubuntu | Pro:18.04:LTS | golang-1.13 | 1.13.8-1ubuntu1~18.04.4+esm1 | UBUNTU-CVE-2022-28131 USN-6038-2 |
| Ubuntu | Pro:18.04:LTS | golang-1.16 | 1.16.2-0ubuntu1~18.04.2+esm1 | UBUNTU-CVE-2022-28131 USN-6038-2 |
| Red Hat | application_interconnect:1::el8 | skupper-cli | 0:1.0.2-2.el8 | RHSA-2022:6113 |
| Red Hat | container_native_virtualization:4.12::el7 | kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable | 0:4.12.0-1057.el7 | RHSA-2023:0407 |
| Red Hat | container_native_virtualization:4.12::el8 | kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable | 0:4.12.0-1057.el8 | RHSA-2023:0407 |
| Red Hat | devtools:2022 | go-toolset-1.17, go-toolset-1.17-build, go-toolset-1.17-golang and 8 more | 0:1.17.12-1.el7_9 | RHSA-2022:5866 |
| Red Hat | enterprise_linux:8::appstream | aardvark-dns | 2:1.5.0-2.module+el8.8.0+18060+3f21f2cc | RHSA-2023:2758 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 0:1.19.9-6.module+el8.7.0+16212+65e1b35f | RHSA-2022:7529 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 1:1.24.6-5.module+el8.8.0+18083+cd85596b | RHSA-2023:2802 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 1:1.29.1-1.module+el8.8.0+18195+471da4bb | RHSA-2023:2758 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:29-2.module+el8.7.0+16212+65e1b35f | RHSA-2022:7529 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:46-1.module+el8.8.0+17821+de1b53f1 | RHSA-2023:2802 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:63.1-1.module+el8.8.0+18286+cd236dce | RHSA-2023:2758 |
| Red Hat | enterprise_linux:8::appstream | conmon, conmon-debuginfo, conmon-debugsource | 2:2.0.26-3.module+el8.7.0+16212+65e1b35f | RHSA-2022:7529 |
| 53 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 more | go1.17 | 1.17.13-150000.1.42.1 | SUSE-SU-2022:2671-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 more | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4 | go1.18 | 1.18.5-150000.1.25.1 | SUSE-SU-2022:2672-1 |
| openSUSE | Leap 15.3, Leap 15.4 | go1.17 | 1.17.13-150000.1.42.1 | SUSE-SU-2022:2671-1 |
| openSUSE | Leap 15.3, Leap 15.4 | go1.18 | 1.18.5-150000.1.25.1 | SUSE-SU-2022:2672-1 |
| openSUSE | Leap 15.4, Leap 15.5 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| openSUSE | Tumbleweed | go1.17 | 1.17.12-1.1 | openSUSE-SU-2024:12189-1 |
| openSUSE | Tumbleweed | go1.18 | 1.18.4-1.1 | openSUSE-SU-2024:12190-1 |
| AlmaLinux | 8 | aardvark-dns | 2:1.5.0-2.module_el8.8.0+3470+252b1910 | ALSA-2023:2758 |
| AlmaLinux | 8 | buildah, buildah-tests | 1.19.9-6.module_el8.7.0+3297+1eb250cf | ALSA-2022:7529 |
| AlmaLinux | 8 | buildah, buildah-tests | 1:1.24.6-5.module_el8.8.0+3468+16b86c82 | ALSA-2023:2802 |
| AlmaLinux | 8 | buildah, buildah-tests | 1:1.29.1-1.module_el8.8.0+3470+252b1910 | ALSA-2023:2758 |
| AlmaLinux | 8 | cockpit-podman | 29-2.module_el8.6.0+2876+9ed4eae2 | ALSA-2022:7529 |
| AlmaLinux | 8 | cockpit-podman | 46-1.module_el8.7.0+3344+5bcd850f | ALSA-2023:2802 |
| AlmaLinux | 8 | cockpit-podman | 63.1-1.module_el8.8.0+3557+7ba9cc13 | ALSA-2023:2758 |
| AlmaLinux | 8 | conmon | 2:2.0.26-3.module_el8.7.0+3297+1eb250cf | ALSA-2022:7529 |
| AlmaLinux | 8 | conmon | 2:2.1.4-1.module_el8.7.0+3344+5bcd850f | ALSA-2023:2802 |
| AlmaLinux | 8 | conmon | 3:2.1.6-1.module_el8.8.0+3470+252b1910 | ALSA-2023:2758 |
| AlmaLinux | 8 | container-selinux | 2:2.189.0-1.module_el8.6.0+3336+00d107d5 | ALSA-2022:7529 |
| AlmaLinux | 8 | container-selinux | 2:2.189.0-1.module_el8.7.0+3297+1eb250cf | ALSA-2022:7529 |
| 62 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | buildah | 0:1.19.9-6.module+el8.7.0+1076+9b1c11c1 | RLSA-2022:7529 |
| Rocky Linux | 8 | cockpit-podman | 0:29-2.module+el8.4.0+556+40122d08 | RLSA-2022:7529 |
| Rocky Linux | 8 | cockpit-podman | 0:29-2.module+el8.5.0+709+440d5e7e | RLSA-2022:7529 |
| Rocky Linux | 8 | cockpit-podman | 0:29-2.module+el8.6.0+783+10209741 | RLSA-2022:7529 |
| Rocky Linux | 8 | cockpit-podman | 0:29-2.module+el8.7.0+1076+9b1c11c1 | RLSA-2022:7529 |
| Rocky Linux | 8 | cockpit-podman | 0:46-1.module+el8.9.0+1445+07728297 | RLSA-2023:2802 |
| Rocky Linux | 8 | conmon | 2:2.0.26-3.module+el8.4.0+556+40122d08 | RLSA-2022:7529 |
| Rocky Linux | 8 | conmon | 2:2.0.26-3.module+el8.7.0+1076+9b1c11c1 | RLSA-2022:7529 |
| Rocky Linux | 8 | container-selinux | 2:2.189.0-1.module+el8.6.0+1054+50b00ff4 | RLSA-2022:7529 |
| Rocky Linux | 8 | container-selinux | 2:2.189.0-1.module+el8.7.0+1076+9b1c11c1 | RLSA-2022:7529 |
| Rocky Linux | 8 | containernetworking-plugins | 0:0.9.1-1.module+el8.4.0+556+40122d08 | RLSA-2022:7529 |
| Rocky Linux | 8 | containernetworking-plugins | 0:0.9.1-1.module+el8.5.0+709+440d5e7e | RLSA-2022:7529 |
| 43 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.16, v3.17, v3.18 and 6 more | go | 1.18.4-r0 | ALPINE-CVE-2022-28131 |
| Azure Linux | 2 | golang | 1.18.5-1 | AZL-10531 |
| Azure Linux | 3 | golang | no fix listed | AZL-79000 AZL-98970 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
The vulnerability exists in the calling of the function decoder.skip to a deeply nested XML document. Although the vulnerability exists, it may require that the application accept deeply nested XML from untrusted sources and specifically calls Decoder.Skip on it. In many deployments, that code path might not even be reachable or exposed to external input. On top of that, a successful exploitation will only result in denial of service due to stack exhaustion, which is why this has been marked as moderate by Red Hat.
| Product | Package | State | Advisory |
|---|---|---|---|
| Application Interconnect 1 for RHEL 8 | skupper-cli-0:1.0.2-2.el8 | Fixed 2022-08-18 | RHSA-2022:6113 |
| Node Maintenance Operator 4.11 for RHEL 8 | workload-availability/node-maintenance-rhel8-operator:v4.11.1-1 | Fixed 2022-08-25 | RHSA-2022:6188 |
| OpenShift Custom Metrics Autoscaler 2 | custom-metrics-autoscaler-tech-preview/custom-metrics-autoscaler-rhel8:2.8.2-143 | Fixed 2023-03-06 | RHSA-2023:1042 |
| Openshift Serveless 1.24 | openshift-serverless-1/client-kn-rhel8:1.3.1-4 | Fixed 2022-08-10 | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8:1.3.2-3 | Fixed 2022-08-10 | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-controller-rhel8:1.3.2-3 | Fixed 2022-08-10 | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-in-memory-channel-controller-rhel8:1.3.2-3 | Fixed 2022-08-10 | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8:1.3.2-3 | Fixed 2022-08-10 | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-kafka-broker-controller-rhel8:1.3.2-2 | Fixed 2022-08-10 | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-kafka-broker-dispatcher-rhel8:1.3.2-2 | Fixed 2022-08-10 | RHSA-2022:6040 |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-controller-rhel9 | Affected | |
| Node Maintenance Operator | workload-availability/node-maintenance-rhel8-operator | Affected | |
| OpenShift API for Data Protection | oadp/oadp-velero-rhel9 | Affected | |
| OpenShift Developer Tools and Services | helm | Fix deferred | |
| OpenShift Developer Tools and Services | odo | Affected | |
| OpenShift Pipelines | openshift-pipelines-client | Affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/3scale-rhel7-operator | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/work-rhel8 | Affected | |
| Red Hat Advanced Cluster Security 3 | advanced-cluster-security/rhacs-main-rhel8 | Affected | |
| Red Hat Ansible Automation Platform 2 | openshift-clients | Affected | |
| 72 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-28131.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.