CVE-2020-6018 Memory corruption in Game Networking Sockets

Critical 9.8 Published Updated

A stack-based buffer overflow in Valve's Game Networking Sockets allows remote attackers to execute arbitrary code via long encrypted messages.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-6018?

CVE-2020-6018 is a critical memory corruption vulnerability in Game Networking Sockets, published on 2 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Valve's Game Networking Sockets prior to version v1.2.0 improperly handles long encrypted messages in function AES_GCM_DecryptContext::Decrypt() when compiled using libsodium, leading to a Stack-Based Buffer Overflow and resulting in a memory corruption and possibly even a remote code execution.

Weakness: CWE-787, CWE-120

Which versions are affected by CVE-2020-6018?

It affects 1 product.

Products include Valvesoftware Game Networking Sockets.

How do I fix CVE-2020-6018?

No fix has been published for CVE-2020-6018 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-6018 being exploited?

There is no known exploitation of CVE-2020-6018 in the wild and no public exploit code.

Sources

Also known as GHSA-42qq-mh3v-978m.

Is CVE-2020-6018 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free