Bug 2107390 (CVE-2022-28131) - CVE-2022-28131 golang: encoding/xml: stack exhaustion in Decoder.Skip
Summary: CVE-2022-28131 golang: encoding/xml: stack exhaustion in Decoder.Skip
Keywords:
Status: NEW
Alias: CVE-2022-28131
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2107391 2111759 2111760 2115482 2115484 2115486 2115487 2115490 2115491 2109914 2109915 2109916 2109917 2110320 2111001 2111496 2111746 2111747 2111758 2111765 2111766 2111767 2111786 2112009 2112010 2115483 2115485 2115488 2115489 2115492 2115493 2115494 2123509 2123510 2123514 2123748 2123750 2123754
Blocks: 2108717
TreeView+ depends on / blocked
 
Reported: 2022-07-14 21:40 UTC by Anten Skrabec
Modified: 2023-01-24 13:35 UTC (History)
209 users (show)

Fixed In Version: golang 1.18.4, golang 1.17.12
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in golang encoding/xml. When calling Decoder, Skip while parsing a deeply nested XML document, a panic can occur due to stack exhaustion and allows an attacker to impact system availability.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2022:5800 0 None None None 2022-08-01 16:00:08 UTC
Red Hat Product Errata RHBA-2022:6131 0 None None None 2022-08-22 19:36:46 UTC
Red Hat Product Errata RHSA-2022:5775 0 None None None 2022-08-01 12:05:04 UTC
Red Hat Product Errata RHSA-2022:5799 0 None None None 2022-08-01 16:05:04 UTC
Red Hat Product Errata RHSA-2022:5866 0 None None None 2022-08-02 09:54:30 UTC
Red Hat Product Errata RHSA-2022:6040 0 None None None 2022-08-10 13:17:25 UTC
Red Hat Product Errata RHSA-2022:6042 0 None None None 2022-08-10 11:38:20 UTC
Red Hat Product Errata RHSA-2022:6113 0 None None None 2022-08-18 15:11:53 UTC
Red Hat Product Errata RHSA-2022:6152 0 None None None 2022-09-01 05:42:16 UTC
Red Hat Product Errata RHSA-2022:6188 0 None None None 2022-08-25 11:22:11 UTC
Red Hat Product Errata RHSA-2022:6283 0 None None None 2022-08-31 18:50:09 UTC
Red Hat Product Errata RHSA-2022:6345 0 None None None 2022-09-06 14:35:39 UTC
Red Hat Product Errata RHSA-2022:6346 0 None None None 2022-09-06 13:03:57 UTC
Red Hat Product Errata RHSA-2022:6347 0 None None None 2022-09-06 12:59:55 UTC
Red Hat Product Errata RHSA-2022:6348 0 None None None 2022-09-06 13:44:19 UTC
Red Hat Product Errata RHSA-2022:6370 0 None None None 2022-09-06 22:30:50 UTC
Red Hat Product Errata RHSA-2022:7519 0 None None None 2022-11-08 09:25:06 UTC
Red Hat Product Errata RHSA-2022:7529 0 None None None 2022-11-08 09:29:43 UTC
Red Hat Product Errata RHSA-2022:8057 0 None None None 2022-11-15 10:07:58 UTC
Red Hat Product Errata RHSA-2022:9047 0 None None None 2022-12-15 01:58:32 UTC
Red Hat Product Errata RHSA-2023:0407 0 None None None 2023-01-24 12:50:08 UTC
Red Hat Product Errata RHSA-2023:0408 0 None None None 2023-01-24 13:35:55 UTC

Description Anten Skrabec 2022-07-14 21:40:32 UTC
Calling Decoder.Skip when parsing a deeply nested XML document can cause a panic due to stack exhaustion.

Comment 1 Anten Skrabec 2022-07-14 21:40:52 UTC
Created golang tracking bugs for this issue:

Affects: fedora-all [bug 2107391]

Comment 5 Avinash Hanwate 2022-07-25 08:15:08 UTC
Created golang tracking bugs for this issue:

Affects: epel-all [bug 2110320]

Comment 17 errata-xmlrpc 2022-08-01 12:04:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:5775 https://access.redhat.com/errata/RHSA-2022:5775

Comment 18 errata-xmlrpc 2022-08-01 16:04:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:5799 https://access.redhat.com/errata/RHSA-2022:5799

Comment 19 errata-xmlrpc 2022-08-02 09:54:21 UTC
This issue has been addressed in the following products:

  Red Hat Developer Tools

Via RHSA-2022:5866 https://access.redhat.com/errata/RHSA-2022:5866

Comment 23 errata-xmlrpc 2022-08-10 11:38:13 UTC
This issue has been addressed in the following products:

  Openshift Serverless 1 on RHEL 8

Via RHSA-2022:6042 https://access.redhat.com/errata/RHSA-2022:6042

Comment 24 errata-xmlrpc 2022-08-10 13:17:16 UTC
This issue has been addressed in the following products:

  Openshift Serveless 1.24

Via RHSA-2022:6040 https://access.redhat.com/errata/RHSA-2022:6040

Comment 27 errata-xmlrpc 2022-08-18 15:11:43 UTC
This issue has been addressed in the following products:

  Application Interconnect 1 for RHEL 8

Via RHSA-2022:6113 https://access.redhat.com/errata/RHSA-2022:6113

Comment 28 errata-xmlrpc 2022-08-25 11:22:03 UTC
This issue has been addressed in the following products:

  Node Maintenance Operator 4.11 for RHEL 8

Via RHSA-2022:6188 https://access.redhat.com/errata/RHSA-2022:6188

Comment 29 errata-xmlrpc 2022-08-31 18:49:58 UTC
This issue has been addressed in the following products:

  OSSM-2.2-RHEL-8

Via RHSA-2022:6283 https://access.redhat.com/errata/RHSA-2022:6283

Comment 30 errata-xmlrpc 2022-09-01 05:42:08 UTC
This issue has been addressed in the following products:

  OSSO-1.1-RHEL-8

Via RHSA-2022:6152 https://access.redhat.com/errata/RHSA-2022:6152

Comment 31 errata-xmlrpc 2022-09-06 12:59:45 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.6 for RHEL 8

Via RHSA-2022:6347 https://access.redhat.com/errata/RHSA-2022:6347

Comment 32 errata-xmlrpc 2022-09-06 13:03:47 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.6 for RHEL 8

Via RHSA-2022:6346 https://access.redhat.com/errata/RHSA-2022:6346

Comment 33 errata-xmlrpc 2022-09-06 13:44:09 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.5 for RHEL 8

Via RHSA-2022:6348 https://access.redhat.com/errata/RHSA-2022:6348

Comment 34 errata-xmlrpc 2022-09-06 14:35:27 UTC
This issue has been addressed in the following products:

  multicluster engine for Kubernetes 2.1 for RHEL 8

Via RHSA-2022:6345 https://access.redhat.com/errata/RHSA-2022:6345

Comment 35 errata-xmlrpc 2022-09-06 22:30:42 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.6 for RHEL 8

Via RHSA-2022:6370 https://access.redhat.com/errata/RHSA-2022:6370

Comment 42 errata-xmlrpc 2022-11-08 09:24:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7519 https://access.redhat.com/errata/RHSA-2022:7519

Comment 43 errata-xmlrpc 2022-11-08 09:29:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7529 https://access.redhat.com/errata/RHSA-2022:7529

Comment 44 errata-xmlrpc 2022-11-15 10:07:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:8057 https://access.redhat.com/errata/RHSA-2022:8057

Comment 47 errata-xmlrpc 2022-12-15 01:58:26 UTC
This issue has been addressed in the following products:

  Red Hat Migration Toolkit for Containers 1.7

Via RHSA-2022:9047 https://access.redhat.com/errata/RHSA-2022:9047

Comment 62 errata-xmlrpc 2023-01-24 12:49:58 UTC
This issue has been addressed in the following products:

  RHEL-8-CNV-4.12
  RHEL-7-CNV-4.12

Via RHSA-2023:0407 https://access.redhat.com/errata/RHSA-2023:0407

Comment 63 errata-xmlrpc 2023-01-24 13:35:46 UTC
This issue has been addressed in the following products:

  RHEL-8-CNV-4.12

Via RHSA-2023:0408 https://access.redhat.com/errata/RHSA-2023:0408


Note You need to log in before you can comment on or make changes to this bug.