Buffer overflow in Go programming language - CVE-2021-38297

 

Buffer overflow in Go programming language - CVE-2021-38297

Published: October 21, 2021 / Updated: January 28, 2024


Vulnerability identifier: #VU57579
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2021-38297
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Google
Affected software:
Go programming language

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error. A remote attacker can trigger memory corruption via large arguments in a function invocation from a WASM module, when GOARCH=wasm GOOS=js is used.


How to mitigate CVE-2021-38297

Install update from vendor's website.

Sources