CVE & CISA-KEV Catalog

CVE-2022-28131

HIGHEPSS 82th pctl
7.5
CVSS v3
NVD

Description

Uncontrolled recursion in Decoder.Skip 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 a deeply nested XML document.

How to fix

Remediation Available
compat-golang-github-cpuguy83-md2man-2-develAmazon
Fixed in:0:2.0.2-22.amzn2023.0.2
go-filesystemAmazon
Fixed in:0:3.0.15-23.amzn2.0.2
Fixed in:0:3.0.15-23.amzn2.0.2
go-rpm-macrosAmazon
Fixed in:0:3.0.15-23.amzn2.0.2
Fixed in:0:3.0.15-23.amzn2.0.2
go-rpm-templatesAmazon
Fixed in:0:3.0.15-23.amzn2.0.2
go-srpm-macrosAmazon
Fixed in:0:3.0.15-23.amzn2.0.2
golangAmazon
Fixed in:0:1.18.5-1.amzn2
Fixed in:0:1.18.5-1.amzn2
Fixed in:0:1.19.3-2.amzn2023.0.2
Fixed in:0:1.19.3-2.amzn2023.0.2
Fixed in:0:1.19.3-2.amzn2023.0.2
golang-binAmazon
Fixed in:0:1.18.5-1.amzn2
Fixed in:0:1.18.5-1.amzn2
Fixed in:0:1.19.3-2.amzn2023.0.2
Fixed in:0:1.19.3-2.amzn2023.0.2
Fixed in:0:1.19.3-2.amzn2023.0.2
golang-docsAmazon
Fixed in:0:1.18.5-1.amzn2
Fixed in:0:1.19.3-2.amzn2023.0.2
golang-github-cpuguy83-md2manAmazon
Fixed in:0:2.0.2-22.amzn2023.0.2
Fixed in:0:2.0.2-22.amzn2023.0.2
Fixed in:0:2.0.2-22.amzn2023.0.2
golang-github-cpuguy83-md2man-debuginfoAmazon
Fixed in:0:2.0.2-22.amzn2023.0.2
Fixed in:0:2.0.2-22.amzn2023.0.2
Fixed in:0:2.0.2-22.amzn2023.0.2
golang-github-cpuguy83-md2man-debugsourceAmazon
Fixed in:0:2.0.2-22.amzn2023.0.2
Fixed in:0:2.0.2-22.amzn2023.0.2
Fixed in:0:2.0.2-22.amzn2023.0.2
golang-github-cpuguy83-md2man-develAmazon
Fixed in:0:2.0.2-22.amzn2023.0.2
golang-github-godbus-dbus-develAmazon
Fixed in:0:0-0.1.gitcb98efb.amzn2.0.2
golang-github-gorilla-context-develAmazon
Fixed in:0:0-0.24.gitb06ed15.amzn2.0.4
Fixed in:0:0-0.24.gitb06ed15.amzn2.0.4
golang-github-gorilla-mux-develAmazon
Fixed in:0:0-0.16.git136d54f.amzn2.0.2
golang-github-kr-pty-develAmazon
Fixed in:0:0-0.19.git98c7b80.amzn2.0.3
Fixed in:0:0-0.19.git98c7b80.amzn2.0.3
golang-github-syndtr-gocapability-develAmazon
Fixed in:0:0-0.5.git3454319.amzn2.0.3
Fixed in:0:0-0.5.git3454319.amzn2.0.3
golang-googlecode-net-develAmazon
Fixed in:0:0-0.12.hg84a4013f96e0.amzn2.0.2
golang-googlecode-sqlite-develAmazon
Fixed in:0:0-0.9.hg74691fb6f837.amzn2.0.4
Fixed in:0:0-0.9.hg74691fb6f837.amzn2.0.4
golang-miscAmazon
Fixed in:0:1.18.5-1.amzn2
Fixed in:0:1.19.3-2.amzn2023.0.2
golang-raceAmazon
Fixed in:0:1.18.5-1.amzn2
Fixed in:0:1.19.3-2.amzn2023.0.2
golang-sharedAmazon
Fixed in:0:1.18.5-1.amzn2
Fixed in:0:1.18.5-1.amzn2
Fixed in:0:1.19.3-2.amzn2023.0.2
Fixed in:0:1.19.3-2.amzn2023.0.2
Fixed in:0:1.19.3-2.amzn2023.0.2
golang-srcAmazon
Fixed in:0:1.18.5-1.amzn2
Fixed in:0:1.19.3-2.amzn2023.0.2
golang-testsAmazon
Fixed in:0:1.18.5-1.amzn2
Fixed in:0:1.19.3-2.amzn2023.0.2
golistAmazon
Fixed in:0:0.10.1-10.amzn2.0.1
Fixed in:0:0.10.1-10.amzn2.0.1
Fixed in:0:0.10.1-11.amzn2023.0.3
Fixed in:0:0.10.1-11.amzn2023.0.3
Fixed in:0:0.10.1-11.amzn2023.0.3
golist-debuginfoAmazon
Fixed in:0:0.10.1-10.amzn2.0.1
Fixed in:0:0.10.1-10.amzn2.0.1
Fixed in:0:0.10.1-11.amzn2023.0.3
Fixed in:0:0.10.1-11.amzn2023.0.3
Fixed in:0:0.10.1-11.amzn2023.0.3
golist-debugsourceAmazon
Fixed in:0:0.10.1-11.amzn2023.0.3
Fixed in:0:0.10.1-11.amzn2023.0.3
Fixed in:0:0.10.1-11.amzn2023.0.3
aardvark-dns-2:1.0.1Red Hat / RHEL
Fixed in:37.module+el8.8.0+17954+9046de88.ppc64le::container-tools:4.0RHSA-2023:2802
Fixed in:37.module+el8.8.0+17954+9046de88.s390x::container-tools:4.0RHSA-2023:2802
Fixed in:37.module+el8.8.0+17954+9046de88.x86_64::container-tools:4.0RHSA-2023:2802
Fixed in:37.module+el8.8.0+17954+9046de88.aarch64::container-tools:4.0RHSA-2023:2802
aardvark-dns-2:1.0.1Rocky
Fixed in:37.module+el8.8.0+17954+9046de88.s390x::container-tools:4.0RHSA-2023:2802
Fixed in:37.module+el8.8.0+17954+9046de88.ppc64le::container-tools:4.0RHSA-2023:2802
Fixed in:37.module+el8.8.0+17954+9046de88.x86_64::container-tools:4.0RHSA-2023:2802
Fixed in:37.module+el8.8.0+17954+9046de88.aarch64::container-tools:4.0RHSA-2023:2802
aardvark-dns-2:1.5.0Rocky
Fixed in:2.module+el8.8.0+18060+3f21f2cc.x86_64::container-tools:rhel8RHSA-2023:2758
Fixed in:2.module+el8.8.0+18060+3f21f2cc.aarch64::container-tools:rhel8RHSA-2023:2758
Fixed in:2.module+el8.8.0+18060+3f21f2cc.ppc64le::container-tools:rhel8RHSA-2023:2758
Fixed in:2.module+el8.8.0+18060+3f21f2cc.src::container-tools:rhel8RHSA-2023:2758
Fixed in:2.module+el8.8.0+18060+3f21f2cc.s390x::container-tools:rhel8RHSA-2023:2758

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

2.27%probability of exploitation in 30 days
82ndpercentile

Elevated risk: more likely to be exploited than 82% of all known CVEs.

References

Related Vulnerabilities

Other CWE-674 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-45105Medium5.9100%-Fix
CVE-2024-25111High8.665%-Fix
CVE-2023-50269High8.658%-Fix
CVE-2021-42697High7.536%-Fix
CVE-2018-0739Medium6.519%-Fix
CVE-2007-1285High7.518%-Fix

Common questions

How do I fix CVE-2022-28131?

Published advisories record a fix for 267 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2022-28131 being actively exploited?

Not that we know of. CVE-2022-28131 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 2.3% is the estimated probability that it will be exploited in the next 30 days. That is higher than 82% of all scored CVEs.

How severe is CVE-2022-28131?

CVE-2022-28131 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2022-28131 affect?

Published advisories record a fix for compat-golang-github-cpuguy83-md2man-2-devel (Amazon), go-filesystem (Amazon), go-rpm-macros (Amazon), go-rpm-templates (Amazon), and 263 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2022-28131
CVE-2022-28131 severity badge

Markdown

[![CVE-2022-28131](https://tridentstack.com/cve/badge/CVE-2022-28131.svg)](https://tridentstack.com/cve/CVE-2022-28131)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-28131"><img src="https://tridentstack.com/cve/badge/CVE-2022-28131.svg" alt="CVE-2022-28131"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.