CVE-2021-38297
CRITICAL9.8EPSS 10.6%Buffer overflow in WASM modules in misc/wasm and cmd/link
Published: 5/24/2022Modified: 4/28/2026
Also known as:DEBIAN-CVE-2021-38297
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.
Affected packages (3)
- Bitnami/golangfrom 0, < 1.16.9, >= 1.17.0, < 1.17.2
- Debian/golang-1.15from 0, < 1.15.15-1~deb11u2
- Go/toolchainfrom 0, < 1.16.9, >= 1.17.0-0, < 1.17.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (12)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-38297
- PATCHhttps://go.dev/cl/354571
- PATCHhttps://go.googlesource.com/go/+/77f2750f4398990eed972186706f160631d7dae4
- REPORThttps://go.dev/issue/48797
- WEBhttps://groups.google.com/forum/#%21forum/golang-announce
- WEBhttps://groups.google.com/g/golang-announce/c/AEBu9j7yj5A
- WEBhttps://lists.debian.org/debian-lts-announce/2023/04/msg00021.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OFS3M3OFB24SWPTIAPARKGPUMQVUY6Z/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ON7BQRRJZBOR5TJHURBAB3WLF4YXFC6Z/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2021-38297
- WEBhttps://security.gentoo.org/glsa/202208-02
- WEBhttps://security.netapp.com/advisory/ntap-20211118-0006/