CVE-2021-38297

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…

published October 18, 2021

CVSS
—
EPSS
11%
Percentile
95.9
In the wild
Unconfirmed
What it is

⚠️ A buffer overflow is lurking in Go for WASM modules, waiting on large arguments to cause chaos! Think of this as a suitcase bursting at the seams. If you try to cram in too many clothes, the zipper pops open and everything spills out—only in this case, the overflow could potentially lead to unpredictable behavior or even crashes! An attacker could exploit this vulnerability to crash the application or manipulate the state of the application, leading to unexpected consequences. While this isn't a full-blown crisis, it's definitely a nuisance that could cause your application to misbehave!

Put simply

Think of this as a suitcase bursting at the seams. If you try to cram in too many clothes, the zipper pops open and everything spills out—only in this case, the overflow could potentially lead to unpredictable behavior or even crashes! CVE-2021-38297 is a buffer overflow vulnerability that arises when large arguments are passed to a function invocation from a WASM module in Go versions before 1.16.9 and 1.17.x before 1.17.2, specifically when compiled with GOARCH=wasm and GOOS=js.

What to do

An attacker could exploit this vulnerability to crash the application or manipulate the state of the application, leading to unexpected consequences. While this isn't a full-blown crisis, it's definitely a nuisance that could cause your application to misbehave! Upgrade your Go environment to at least version 1.16.9 or 1.17.2 to mitigate this vulnerability. Regularly audit your WASM modules and test for any unusual behavior when passing large arguments. Staying updated is the best way to keep your applications safe! You've got this! Keep your Go environment updated and your applications will be in great shape! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.10874 · 95.9th percentile
Published
2021-10-18T00:00Z
EPSS history
Timeline
  • 18 OCT 00:00Z
    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…
    cvelistv5