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


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.11% (86th 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-2367217
  • published26 Jan 2022
  • disclosed18 Nov 2020
  • creditUnknown

Introduced: 18 Nov 2020

CVE-2020-6016  (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 unreliable segments with negative offsets in function SNP_ReceiveUnreliableSegment(), leading to a Heap-Based Buffer Underflow and a free() of memory not from the heap, resulting in a memory corruption and probably even a remote code execution.

References

CVSS Scores

version 3.1