PT-2020-18893 · Frank Denis+1 · Libsodium+1

Eyal Itkin

·

Published

2020-12-02

·

Updated

2022-04-12

·

CVE-2020-6018

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Valve's Game Networking Sockets versions prior to v1.2.0
Description The issue arises from the improper handling of long encrypted messages in the AES GCM DecryptContext::Decrypt() function when compiled using libsodium. This leads to a Stack-Based Buffer Overflow, resulting in memory corruption and potentially allowing for remote code execution.
Recommendations For versions prior to v1.2.0, update to version v1.2.0 or later to resolve the issue. As a temporary workaround, consider disabling the AES GCM DecryptContext::Decrypt() function until a patch is available. Restrict access to sensitive areas of the program to minimize the risk of exploitation.

Exploit

Fix

Buffer Overflow

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-6018

Affected Products

Game Networking Sockets
Libsodium