CVE-2023-6180 – tokio-boring
Package
Manager: cargo
Name: tokio-boring
Vulnerable Version: =4.0.0 || >=4.0.0 <4.1.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
EPSS: 0.00073 pctl0.22902
Details
tokio-boring vulnerable to resource exhaustion via memory leak ### 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](https://www.cve.org/CVERecord?id=CVE-2023-6180)
Metadata
Created: 2023-12-05T23:42:49Z
Modified: 2023-12-05T23:42:49Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-pjrj-h4fg-6gm4/GHSA-pjrj-h4fg-6gm4.json
CWE IDs: ["CWE-400", "CWE-401", "CWE-404"]
Alternative ID: GHSA-pjrj-h4fg-6gm4
Finding: F067
Auto approve: 1