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 advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-1.11 (PTS)buster, buster (security)1.11.6-1+deb10u4vulnerable
golang-1.15 (PTS)bullseye1.15.15-1~deb11u4fixed
golang-1.17 (PTS)bookworm, sid1.17.13-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-1.11source(unstable)(unfixed)
golang-1.15sourcebullseye1.15.15-1~deb11u2
golang-1.15source(unstable)1.15.15-5
golang-1.16source(unstable)1.16.9-1
golang-1.17source(unstable)1.17.2-1
golang-1.7source(unstable)(not affected)
golang-1.8source(unstable)(not affected)

Notes

[buster] - golang-1.11 <postponed> (Limited support, minor issue, follow bullseye DSAs/point-releases)
- golang-1.8 <not-affected> (Vulnerable code not present)
- golang-1.7 <not-affected> (Vulnerable code not present)
https://github.com/golang/go/commit/77f2750f4398990eed972186706f160631d7dae4
https://groups.google.com/g/golang-announce/c/AEBu9j7yj5A
https://github.com/golang/go/issues/48797

Search for package or bug name: Reporting problems