CVE-2022-23772
publishedgolang: math/big: uncontrolled memory consumption due to an unhandled overflow via Rat.SetString
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1776 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2GOLANG1.19-2023-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-175 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | delve | Advisory build | 1.7.2-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| Alpine Linux | edge | go | Fixed | 1.17.7-r0 | Package fix record |
| Debian | stretch | golang-1.7 | Advisory build | 1.7.4-2+deb9u5 | DLA-2985-1 |
| Oracle Linux | 8 | delvex86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.7.2-1.0.1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | delvesrc | Advisory build | 1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2022:1819 |
| SUSE / openSUSE | SLE-15-SP2 | go1.16aarch64 | Advisory build | 1.16.14-1.43.1 | SUSE-SU-2022:0724-1 |
| AlmaLinux | 8 | go-toolset | Advisory build | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux | 8 | golang | Advisory build | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux | 8 | golang-bin | Advisory build | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux | 8 | golang-docs | Advisory build | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux | 8 | golang-misc | Advisory build | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux | 8 | golang-race | Advisory build | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux | 8 | golang-src | Advisory build | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux | 8 | golang-tests | Advisory build | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| Alpine Linux | v3.14 | go | Fixed | 1.16.15-r0 | Package fix record |
| Alpine Linux | v3.15 | go | Fixed | 1.17.9-r0 | Package fix record |
| Alpine Linux | v3.16 | go | Fixed | 1.17.7-r0 | Package fix record |
| Alpine Linux | v3.17 | go | Fixed | 1.17.7-r0 | Package fix record |
| Alpine Linux | v3.18 | go | Fixed | 1.17.7-r0 | Package fix record |
| Alpine Linux | v3.19 | go | Fixed | 1.17.7-r0 | Package fix record |
| Alpine Linux | v3.20 | go | Fixed | 1.17.7-r0 | Package fix record |
| Alpine Linux | v3.21 | go | Fixed | 1.17.7-r0 | Package fix record |
| Alpine Linux | v3.22 | go | Fixed | 1.17.7-r0 | Package fix record |
| Alpine Linux | v3.23 | go | Fixed | 1.17.7-r0 | Package fix record |
| Alpine Linux | v3.24 | go | Fixed | 1.17.7-r0 | Package fix record |
| Debian | stretch | golang-1.8 | Advisory build | 1.8.1-1+deb9u5 | DLA-2986-1 |
| Oracle Linux | 8 | delvex86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.6.0-1.0.1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Oracle Linux | 8 | go-toolsetaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux | 8 | go-toolsetaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.16.15-1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Oracle Linux | 8 | go-toolsetx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux | 8 | go-toolsetx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.16.15-1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Oracle Linux | 8 | golangaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux | 8 | golangaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.16.15-1.0.1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Oracle Linux | 8 | golangx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux | 8 | golangx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.16.15-1.0.1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Oracle Linux | 8 | golang-binaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux | 8 | golang-binaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.16.15-1.0.1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Oracle Linux | 8 | golang-binx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux | 8 | golang-binx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.16.15-1.0.1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Oracle Linux | 8 | golang-docsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux | 8 | golang-docsaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.16.15-1.0.1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Oracle Linux | 8 | golang-docsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux | 8 | golang-docsx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.16.15-1.0.1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Oracle Linux | 8 | golang-miscaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux | 8 | golang-miscaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.16.15-1.0.1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Oracle Linux | 8 | golang-miscx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux | 8 | golang-miscx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.16.15-1.0.1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Oracle Linux | 8 | golang-racex86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux | 8 | golang-racex86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.16.15-1.0.1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Oracle Linux | 8 | golang-srcaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux | 8 | golang-srcaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.16.15-1.0.1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Oracle Linux | 8 | golang-srcx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux | 8 | golang-srcx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.16.15-1.0.1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Oracle Linux | 8 | golang-testsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux | 8 | golang-testsaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.16.15-1.0.1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Oracle Linux | 8 | golang-testsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux | 8 | golang-testsx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.16.15-1.0.1.module+el8.6.0+20678+9a1d85ad | ELSA-2022-14857 |
| Red Hat Enterprise Linux | RHEL-8 | delvex86_64 | Advisory build | 1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfox86_64 | Advisory build | 1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debugsourcex86_64 | Advisory build | 1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetaarch64 | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetppc64le | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsets390x | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetsrc | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetx86_64 | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | golangaarch64 | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | golangppc64le | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | golangs390x | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | golangsrc | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | golangx86_64 | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | golang-binaarch64 | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | golang-binppc64le | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | golang-bins390x | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | golang-binx86_64 | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | golang-docsnoarch | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | golang-miscnoarch | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | golang-racex86_64 | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | golang-srcnoarch | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux | RHEL-8 | golang-testsnoarch | Advisory build | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| SUSE / openSUSE | SLE-15-SP2 | go1.16ppc64le | Advisory build | 1.16.14-1.43.1 | SUSE-SU-2022:0724-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.16s390x | Advisory build | 1.16.14-1.43.1 | SUSE-SU-2022:0724-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.16x86_64 | Advisory build | 1.16.14-1.43.1 | SUSE-SU-2022:0724-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.16-docaarch64 | Advisory build | 1.16.14-1.43.1 | SUSE-SU-2022:0724-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.16-docppc64le | Advisory build | 1.16.14-1.43.1 | SUSE-SU-2022:0724-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.16-docs390x | Advisory build | 1.16.14-1.43.1 | SUSE-SU-2022:0724-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.16-docx86_64 | Advisory build | 1.16.14-1.43.1 | SUSE-SU-2022:0724-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.16-raceaarch64 | Advisory build | 1.16.14-1.43.1 | SUSE-SU-2022:0724-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.16-racex86_64 | Advisory build | 1.16.14-1.43.1 | SUSE-SU-2022:0724-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.17aarch64 | Advisory build | 1.17.7-1.20.1 | SUSE-SU-2022:0723-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.17ppc64le | Advisory build | 1.17.7-1.20.1 | SUSE-SU-2022:0723-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.17s390x | Advisory build | 1.17.7-1.20.1 | SUSE-SU-2022:0723-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.17x86_64 | Advisory build | 1.17.7-1.20.1 | SUSE-SU-2022:0723-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.17-docaarch64 | Advisory build | 1.17.7-1.20.1 | SUSE-SU-2022:0723-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.17-docppc64le | Advisory build | 1.17.7-1.20.1 | SUSE-SU-2022:0723-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.17-docs390x | Advisory build | 1.17.7-1.20.1 | SUSE-SU-2022:0723-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.17-docx86_64 | Advisory build | 1.17.7-1.20.1 | SUSE-SU-2022:0723-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.17-raceaarch64 | Advisory build | 1.17.7-1.20.1 | SUSE-SU-2022:0723-1 |
| SUSE / openSUSE | SLE-15-SP2 | go1.17-racex86_64 | Advisory build | 1.17.7-1.20.1 | SUSE-SU-2022:0723-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.16aarch64 | Advisory build | 1.16.14-1.43.1 | SUSE-SU-2022:0724-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.16ppc64le | Advisory build | 1.16.14-1.43.1 | SUSE-SU-2022:0724-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Rat.SetString in math/big in Go before 1.16.14 and 1.17.x before 1.17.7 has an overflow that can lead to Uncontrolled Memory Consumption.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- https://groups.google.com/g/golang-announce/c/SUsQn0aSgPQ
- [debian-lts-announce] 20220428 [SECURITY] [DLA 2985-1] golang-1.7 security update https://lists.debian.org/debian-lts-announce/2022/04/msg00017.html
- [debian-lts-announce] 20220428 [SECURITY] [DLA 2986-1] golang-1.8 security update https://lists.debian.org/debian-lts-announce/2022/04/msg00018.html
- GLSA-202208-02 https://security.gentoo.org/glsa/202208-02
- https://security.netapp.com/advisory/ntap-20220225-0006/
- https://www.oracle.com/security-alerts/cpujul2022.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0e5f5648c477ad1c8eb2e2a765c4bb461ab59ef99df7e9d4793838bb748fcf74
- Ingested
- 23 Sep 2026, 07:58:41 UTC
- Source record
- Official CVE record