CVE-2021-38297Golang Go
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 9.8
- EPSS
- 11.0% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Oct 18, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-120
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | toolchain |
< 1.16.9 |
1.16.9 |
go get toolchain@v1.16.9 |
| Go | toolchain |
≥ 1.17.0-0 < 1.17.2 |
1.17.2 |
go get toolchain@v1.17.2 |
Per OSV / GitHub Advisories (GO-2022-0247). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.16.9 |
| golang | go | ≥ 1.17.0 < 1.17.2 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
Official sources
References
Links published by the sources. Open them with care.
- groups.google.com
- groups.google.com Mailing List Release Notes Third Party Advisory
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory