Vulnerabilities · 2021 · Golang
CVE-2021-38297
Golang Go vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Go, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Golang Go runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- groups.google.com/g/golang-announce/c/AEBu9j7yj5A · Third Party Advisory
- security.gentoo.org/glsa/202208-02 · Third Party Advisory
- security.netapp.com/advisory/ntap-20211118-0006/ · Third Party Advisory
- groups.google.com/forum/#%21forum/golang-announce
- lists.debian.org/debian-lts-announce/2023/04/msg00021.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O
- nvd.nist.gov/vuln/detail/CVE-2021-38297
- cve.org/CVERecord?id=CVE-2021-38297
More vulnerabilities in Golang products
CVE-2026-42506CVE-2026-42502CVE-2026-27136CVE-2026-25681CVE-2026-25680CVE-2025-68121CVE-2025-68119CVE-2025-61732All 172
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.