Live threats

All CVEs / Golang

CVE-2021-38297Golang Go

Critical 9.8 No auth neededHigh EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
golanggo< 1.16.9
golanggo≥ 1.17.0 < 1.17.2
fedoraprojectfedora34
fedoraprojectfedora35

Official sources

References

Links published by the sources. Open them with care.