CVE-2021-38297

NameCVE-2021-38297
DescriptionGo 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-1.16 (PTS)bookworm, sid1.16.9-2fixed
golang-1.17 (PTS)bookworm, sid1.17.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-1.16source(unstable)1.16.9-1
golang-1.17source(unstable)1.17.2-1

Notes

https://github.com/golang/go/commit/77f2750f4398990eed972186706f160631d7dae4
https://groups.google.com/g/golang-announce/c/AEBu9j7yj5A
https://github.com/golang/go/issues/48797
check older branches

Search for package or bug name: Reporting problems