Buffer overflow in Golang Go
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 used.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.110, 96.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Fedoraproject Fedora — versions 34, 35
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- gkrishnan724/CVE-2021-38297 (8 stars, last pushed 2023-12-05): A Proof of concept scenario for exploitation of CVE2021-38297 GO WASM buffer-overflow
- paras98/CVE-2021-38297-Go-wasm-Replication (last pushed 2024-04-04)
Also mentioned in 7 other repositories (agadecki/malware-cryptominer-container, ARPSyndicate/cvemon, henriquebesing/container-security, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- groups.google.com/forum/
- groups.google.com/g/golang-announce/c/AEBu9j7yj5A (Mailing List, Third Party Advisory, Release Notes)
- security.netapp.com/advisory/ntap-20211118-0006/ (Third Party Advisory)
- FEDORA-2021-2ef35beebf (vendor-advisory)
- FEDORA-2021-2b2dd1b5a7 (vendor-advisory)
- GLSA-202208-02 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20230419 [SECURITY] [DLA 3395-1] golang-1.11 security update (mailing-list)
This CVE has public exploit evidence. See the latest CVEs with public exploits.