CVE-2020-6018CWE-120

Valve's Game Networking Sockets prior to version v1.2.0 improperly handles long encrypted messages in function AES_GCM_DecryptContext::Decrypt() when compiled…

published December 2, 2020

CVSS
—
EPSS
3%
Percentile
88.2
In the wild
Unconfirmed
What it is

⚠️ A small flaw in Valve's Game Networking Sockets lets a long encrypted message trigger a stack-based buffer overflow — talk about a sneaky little gremlin! 🔥 Think of it like a delivery truck trying to squeeze through a narrow alleyway. If the load is too big, it could get stuck and cause a massive traffic jam, or worse, crash into a building! This buffer overflow can lead to memory corruption, which means an attacker might gain the ability to execute remote code. If that happens, your game session could turn into a playground for malicious activity, potentially risking user data and compromising system integrity!

Put simply

Think of it like a delivery truck trying to squeeze through a narrow alleyway. If the load is too big, it could get stuck and cause a massive traffic jam, or worse, crash into a building! CVE-2020-6018 occurs in Valve's Game Networking Sockets prior to version v1.2.0, where the function AES_GCM_DecryptContext::Decrypt() improperly handles long encrypted messages when compiled with libsodium, resulting in a stack-based buffer overflow.

What to do

This buffer overflow can lead to memory corruption, which means an attacker might gain the ability to execute remote code. If that happens, your game session could turn into a playground for malicious activity, potentially risking user data and compromising system integrity! Upgrade to Game Networking Sockets version v1.2.0 or later immediately to patch this vulnerability. It’s also a good idea to review encryption handling practices in your implementation to avoid similar pitfalls in the future! You've got this! With these steps, you'll fortify your setup in no time. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03234 · 88.2th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2020-12-02T01:01Z
EPSS history
Timeline
  • 02 DEC 01:01Z
    Valve's Game Networking Sockets prior to version v1.2.0 improperly handles long encrypted messages in function AES_GCM_DecryptContext::Decrypt() when compiled…
    cvelistv5