CVE Vulnerabilities

CVE-2018-25021

Improper Resource Shutdown or Release

Published: Dec 13, 2021 | Modified: Feb 08, 2022
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

The TCP Server module in toxcore before 0.2.8 doesnt free the TCP priority queue under certain conditions, which allows a remote attacker to exhaust the systems memory, causing a denial of service (DoS).

Weakness

The product does not release or incorrectly releases a resource before it is made available for re-use.

Affected Software

Name Vendor Start Version End Version
Toxcore Toktok * 0.2.8 (excluding)

Potential Mitigations

  • Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, languages such as Java, Ruby, and Lisp perform automatic garbage collection that releases memory for objects that have been deallocated.

References