{"id":"CVE-2021-38297","published":"2021-10-18T00:00:00Z","modified":"2024-08-04T01:37:16Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.10962,"percentile":0.95993,"provenance":"source"},"cwes":[],"references":[{"url":"https://groups.google.com/forum/#%21forum/golang-announce","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/AEBu9j7yj5A","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20211118-0006/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OFS3M3OFB24SWPTIAPARKGPUMQVUY6Z/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ON7BQRRJZBOR5TJHURBAB3WLF4YXFC6Z/","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202208-02","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html","tags":["mailing-list"]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":19.2},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":1,"earliest":"2023-11-15","earliestUrl":"https://github.com/gkrishnan724/CVE-2021-38297","repos":[{"name":"gkrishnan724/CVE-2021-38297","url":"https://github.com/gkrishnan724/CVE-2021-38297","stars":8,"created":"2023-11-15"}]},"first":{"date":"2023-11-15","source":"PoC-in-GitHub","url":"https://github.com/gkrishnan724/CVE-2021-38297"},"provenance":"source"},"affected":[{"ecosystem":"Go","package":"toolchain","vulnerableRanges":["<1.16.9",">=1.17.0-0, <1.17.2"],"patched":["1.16.9","1.17.2"],"from":["GO-2022-0247"],"provenance":"source"}],"summary":{"text":"The flaw is a buffer overflow in the Go programming language toolchain's runtime for WebAssembly builds, affecting Go versions before 1.16.9 and 1.17.x before 1.17.2 when compiled with GOARCH=wasm and GOOS=js. An attacker can trigger it by supplying large arguments in a function invocation from a WASM module, which requires a program built with those GOARCH and GOOS settings.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:49:55Z"},"euvd":{"id":"EUVD-2021-24753","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-28366","published":"2020-11-18","fixed":"1.15.5","kev":false},{"cve":"CVE-2020-28367","published":"2020-11-18","fixed":"1.15.5","kev":false},{"cve":"CVE-2021-3115","published":"2021-01-26","fixed":"1.15.7","kev":false,"link":{"from":"CVE-2021-3115","to":"CVE-2021-38297","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:toolchain","fromFixed":"1.15.7","toFixed":"1.16.9","daysApart":265}]}},{"cve":"CVE-2021-38297","published":"2021-10-18","fixed":"1.17.2","kev":false},{"cve":"CVE-2022-23773","published":"2022-02-11","fixed":"1.17.7","kev":false,"link":{"from":"CVE-2021-38297","to":"CVE-2022-23773","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:toolchain","fromFixed":"1.16.9","toFixed":"1.16.14","daysApart":116}]}},{"cve":"CVE-2023-29402","published":"2023-06-08","fixed":"1.20.5","kev":false},{"cve":"CVE-2023-29404","published":"2023-06-08","fixed":"1.20.5","kev":false}],"package":"Go:toolchain"}}