Description
Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a function invocation from a WASM module, when GOARCH=wasm GOOS=js is used.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | golang-1.15 | 1.15.15-1~deb11u2 | — |
| Debian 10 | golang-1.11 | 1.11.6-1+deb10u6 | DLA-3395-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | golang-1.13 +1 | No fix yet | — |
| Ubuntu 18.04 LTS | golang-1.8 +1 | No fix yet | — |
| Ubuntu 16.04 LTS | golang-1.6 +1 | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | golang-1.13 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | golang-1.16 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | golang-1.13 +1 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | golang-1.13 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | delve | 1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2022:1819 |
| RHEL 8 | golang +7 | 1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Serverless 1 | openshift-serverless-clients | 0.26.0-2.el8 | RHSA-2022:0432 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | delve | 1.7.2-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux 8 | golang +7 | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | delve | 1.7.2-1.module+el8.6.0+824+8e984c20 | RLSA-2022:1819 |
| Rocky Linux 8 | golang +1 | 1.17.7-1.module+el8.6.0+824+8e984c20 | RLSA-2022:1819 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | google-guest-agent | 20230221.00-150000.1.34.1 | SUSE-SU-2023:0600-1 |
| SLES 15 SP4 | google-osconfig-agent | 20230222.00-150000.1.27.1 | SUSE-SU-2023:0602-1 |
| SLES 15 SP3 | go1.16 | 1.16.9-1.29.1 | SUSE-SU-2021:3487-1 |
| SLES 15 SP3 | go1.17 | 1.17.2-1.6.2 | SUSE-SU-2021:3488-1 |
| SLES 15 SP3 | google-guest-agent | 20230221.00-150000.1.34.1 | SUSE-SU-2023:0600-1 |
| SLES 15 SP3 | google-osconfig-agent | 20230222.00-150000.1.27.1 | SUSE-SU-2023:0602-1 |
| SLES 15 SP2 | go1.16 | 1.16.9-1.29.1 | SUSE-SU-2021:3487-1 |
| SLES 15 SP2 | go1.17 | 1.17.2-1.6.2 | SUSE-SU-2021:3488-1 |
| SLES 15 SP2 | google-guest-agent | 20230221.00-150000.1.34.1 | SUSE-SU-2023:0600-1 |
| SLES 15 SP2 | google-osconfig-agent | 20230222.00-150000.1.27.1 | SUSE-SU-2023:0602-1 |
| SLES 15 SP1 | google-guest-agent | 20230221.00-150000.1.34.1 | SUSE-SU-2023:0600-1 |
| SLES 15 SP1 | google-osconfig-agent | 20230222.00-150000.1.27.1 | SUSE-SU-2023:0602-1 |
| SLES 12 | google-guest-agent | 20230221.00-1.29.1 | SUSE-SU-2023:0603-1 |
| SLES 12 | google-osconfig-agent | 20230222.00-1.20.1 | SUSE-SU-2023:0601-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | go1.16 | 1.16.9-1.1 | openSUSE-SU-2024:11567-1 |
| openSUSE Tumbleweed | go1.17 | 1.17.2-1.1 | openSUSE-SU-2024:11568-1 |
| openSUSE Tumbleweed | google-guest-agent | 20230221.00-2.1 | openSUSE-SU-2024:12758-1 |
| openSUSE Tumbleweed | google-osconfig-agent | 20230222.00-2.1 | openSUSE-SU-2024:12759-1 |
| openSUSE Leap 15.4 | google-guest-agent | 20230221.00-150000.1.34.1 | SUSE-SU-2023:0600-1 |
| openSUSE Leap 15.4 | google-osconfig-agent | 20230222.00-150000.1.27.1 | SUSE-SU-2023:0602-1 |
| openSUSE Leap 15.3 | go1.16 | 1.16.9-1.29.1 | openSUSE-SU-2021:3487-1 |
| openSUSE Leap 15.3 | go1.17 | 1.17.2-1.6.2 | openSUSE-SU-2021:3488-1 |
| openSUSE Leap 15.2 | go1.16 | 1.16.9-lp152.14.1 | openSUSE-SU-2021:1420-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | go | 1.17.2-r0 | — |
| Alpine v3.23 | go | 1.17.2-r0 | — |
| Alpine v3.22 | go | 1.17.2-r0 | — |
| Alpine v3.21 | go | 1.17.2-r0 | — |
| Alpine v3.20 | go | 1.17.2-r0 | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | go | 1.17.2-r0 | — |
| Alpine v3.18 | go | 1.17.2-r0 | — |
| Alpine v3.17 | go | 1.17.2-r0 | — |
| Alpine v3.16 | go | 1.17.2-r0 | — |
| Alpine v3.15 | go | 1.17.2-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | golang +7 | 1.19.3-2.amzn2023.0.2 | ALAS2023-2023-048 |
| Amazon Linux 2 | golang +7 | 1.16.15-1.amzn2.0.1 | ALAS2-2022-1776 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | golang | 1.17.8-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | delve | 1.7.2-1.0.1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
| Oracle Linux 8 | golang +7 | 1.17.7-1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-1819 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
gkrishnan724/CVE-2021-38297 ★ 8 · Nov 15, 2023
A Proof of concept scenario for exploitation of CVE2021-38297 GO WASM buffer-overflow
-
paras98/CVE-2021-38297-Go-wasm-Replication ★ 0 · Apr 4, 2024
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | toolchain | < 1.16.9 · >= 1.17.0-0, < 1.17.2 | 1.16.9, 1.17.2 | GO-2022-0247 |
Advisories 23
- ALSA-2022:1819 Moderate: go-toolset:rhel8 security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2022:1819 Red Hat Security Advisory: go-toolset:rhel8 security and bug fix update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- RHSA-2022:0432 Red Hat Security Advisory: Release of OpenShift Serverless Client kn 1.20.0 Red Hat Security Advisories (RHSA) · Oct 13, 2026
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- DLA-3395-1 golang-1.11 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2022:1819 Moderate: go-toolset:rhel8 security and bug fix update Rocky Linux Security Advisories · Feb 5, 2026
- openSUSE-SU-2024:12759-1 google-osconfig-agent-20230222.00-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:3487-1 Security update for go1.16 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0601-1 Security update for google-osconfig-agent SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:3488-1 Security update for go1.17 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0603-1 Security update for google-guest-agent SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11568-1 go1.17-1.17.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3487-1 Security update for go1.16 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0602-1 Security update for google-osconfig-agent SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11567-1 go1.16-1.16.9-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1420-1 Security update for go1.16 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3488-1 Security update for go1.17 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0600-1 Security update for google-guest-agent SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12758-1 google-guest-agent-20230221.00-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2229 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- ALAS2023-2023-048 Important: golang security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 9, 2025
- ALAS2-2022-1776 Important: golang security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 7, 2025
- ELSA-2022-1819 Moderate: go-toolset:ol8 security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 17, 2022
References
- https://groups.google.com/forum/#%21forum/golang-announce
- https://groups.google.com/g/golang-announce/c/AEBu9j7yj5A
- https://security.netapp.com/advisory/ntap-20211118-0006/
- FEDORA-2021-2ef35beebf vendor-advisory
- FEDORA-2021-2b2dd1b5a7 vendor-advisory
- GLSA-202208-02 vendor-advisory
- [debian-lts-announce] 20230419 [SECURITY] [DLA 3395-1] golang-1.11 security update mailing-list