CVE-2022-32189: Panic when decoding Float and Rat types in math/big

Published Aug 1, 2022
·
Updated

A too-short encoded message can cause a panic in Float.GobDecode and Rat GobDecode in math/big in Go before 1.17.13 and 1.18.5, potentially allowing a denial of service.

Other sources

A too-short encoded message can cause a panic in Float.GobDecode and Rat.GobDecode in math/big in Go before 1.17.13 and 1.18.5, potentially allowing a denial of service.

References: https://go.dev/issue/53871 https://groups.google.com/g/golang-nuts/c/DCFSyTGM0wU

Upstream Commits: Master : https://github.com/golang/go/commit/055113ef364337607e3e72ed7d48df67fde6fc66 Branch.go1.17 : https://github.com/golang/go/commit/703c8ab7e5ba75c95553d4e249309297abad7102 Branch.go1.18 : https://github.com/golang/go/commit/9240558e4f342fc6e98fec22de17c04b45089349

Red Hat

An uncontrolled resource consumption flaw was found in Golang math/big. A too-short encoded message can cause a panic in Float.GobDecode and Rat.GobDecode in math/big in Go, potentially allowing an attacker to create a denial of service, impacting availability.

Golang Go is vulnerable to a denial of service, caused by a flaw in Float.GobDecode and Rat GobDecode in math/big. By sending a specially-crafted message, a remote attacker could exploit this vulnerability to cause a panic.

IBM

Affected Software

26 affected componentsFixes available
redhat/git-lfs<0:2.13.3-3.el8_6
0:2.13.3-3.el8_6
redhat/weldr-client<0:35.5-4.el8
0:35.5-4.el8
redhat/weldr-client<0:35.5-4.el9
0:35.5-4.el9
redhat/golang<0:1.18.9-1.el9_1
0:1.18.9-1.el9_1
redhat/butane<0:0.16.0-1.el9
0:0.16.0-1.el9
redhat/toolbox<0:0.0.99.3-9.el9
0:0.0.99.3-9.el9
redhat/git-lfs<0:3.2.0-1.el9
0:3.2.0-1.el9
redhat/butane<0:0.15.0-3.rhaos4.11.el8
0:0.15.0-3.rhaos4.11.el8
redhat/cri-o<0:1.24.3-6.rhaos4.11.gitc4567c0.el8
0:1.24.3-6.rhaos4.11.gitc4567c0.el8
redhat/cri-tools<0:1.24.2-7.el8
0:1.24.2-7.el8
redhat/ignition<0:2.14.0-5.rhaos4.11.el8
0:2.14.0-5.rhaos4.11.el8
redhat/butane<0:0.16.0-2.rhaos4.12.el8
0:0.16.0-2.rhaos4.12.el8
redhat/cri-o<0:1.25.1-5.rhaos4.12.git6005903.el9
0:1.25.1-5.rhaos4.12.git6005903.el9
redhat/cri-tools<0:1.25.0-2.el9
0:1.25.0-2.el9
redhat/ignition<0:2.14.0-5.rhaos4.12.el8
0:2.14.0-5.rhaos4.12.el8
redhat/etcd<0:3.3.23-12.el8
0:3.3.23-12.el8
redhat/kubevirt<0:4.13.0-1469.el7
0:4.13.0-1469.el7
redhat/kubevirt<0:4.13.0-1469.el8
0:4.13.0-1469.el8
redhat/kubevirt<0:4.13.0-1469.el9
0:4.13.0-1469.el9
debian/golang-1.15<=1.15.15-1~deb11u4
debian/golang-1.19
1.19.8-2
IBM Concert Software<=1.0.0 - 1.0.1
Golang Go<1.17.13
Golang Go>=1.18.0<1.18.5
redhat/golang<1.17.13
1.17.13
redhat/golang<1.18.5
1.18.5

Event History

Aug 1, 2022
CVE Published
12:00 AM
Aug 2, 2022
Data Sourced
via Red Hat·05:21 AM
DescriptionSeverityAffected Software
Aug 9, 2022
CVE Published
via MITRE·08:17 PM
Data Sourced
via MITRE·08:17 PM
DescriptionWeakness
Oct 10, 2024
Data Sourced
via Ubuntu·01:15 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·01:16 PM
Description
Oct 21, 2024
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2022-32189.

2

What is the severity of CVE-2022-32189?

CVE-2022-32189 has a severity of high.

3

Which software is affected by CVE-2022-32189?

CVE-2022-32189 affects Golang math/big.

4

How can CVE-2022-32189 be exploited?

CVE-2022-32189 can be exploited by sending a too-short encoded message, causing a panic in Float.GobDecode and Rat.GobDecode and potentially leading to a denial of service.

5

How can I fix CVE-2022-32189?

To fix CVE-2022-32189, update Golang to version 1.17.13 or 1.18.5, depending on the affected version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203