Buffer Overflow in Go Language Affects Multiple Versions
CVE-2021-38297

9.8CRITICAL

Key Information:

Vendor

Golang

Status
Vendor
CVE Published:
18 October 2021

Badges

👾 Exploit Exists🟡 Public PoC

What is CVE-2021-38297?

A vulnerability in Go enables a buffer overflow when invoking functions from a WASM module with large arguments. This occurs specifically when using the Go compiler settings GOARCH=wasm and GOOS=js. The flaw can lead to unexpected behavior or crashes, posing security risks to applications that utilize these configurations. It is important for developers to ensure they are using patched versions to mitigate potential exploitation.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

EPSS Score

6% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

.