GitHub Advisoryadvisory · crates.io

GHSA-pjrj-h4fg-6gm4 tokio-boring vulnerable to resource exhaustion via memory leak

MEDIUM Published 2023-12-05 Modified 2023-12-05 Official page ↗
Aliases
CVE-2023-6180
Ecosystem
crates.io
Packages
tokio-boring
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-400, CWE-401, CWE-404
Reviewed
2023-12-05

Affected packages

• crates.io tokio-boring: >= 4.0.0, < 4.1.0 → fixed in 4.1.0

Description

Impact The tokio-boring library in version 4.0.0 is affected by a memory leak issue that can lead to excessive resource consumption and potential DoS by resource exhaustion. The `set_ex_data` function used by the library did not deallocate memory used by pre-existing data in memory each time after completing a TLS connection causing the program to consume more resources with each new connection. Patches The issue is fixed in version 4.1.0 of tokio-boring. References CVE-2023-6180 at cve.org

Related

Alias · CVE (1)

  • CVE-2023-6180 The tokio-boring library in version 4.0.0 is affected by a memory leak issue that can lead to excessive resource consumption and potential… vulnerability

Weakness · CWE (3)

  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-401 Missing Release of Memory after Effective Lifetime weakness
  • CWE-404 Improper Resource Shutdown or Release weakness

References