Out-of-bounds Write Affecting valvesoftware/gamenetworkingsockets package, versions [,1.2.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
5.66% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-VALVESOFTWAREGAMENETWORKINGSOCKETS-2367216
  • published26 Jan 2022
  • disclosed2 Dec 2020
  • creditUnknown

Introduced: 2 Dec 2020

CVE-2020-6018  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade valvesoftware/gamenetworkingsockets to version 1.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. 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.

References

CVSS Base Scores

version 3.1