Description
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.
References (1)
Core 1
Core References
Scores
CVSS v3
5.3
EPSS
0.0062
EPSS Percentile
44.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Details
CWE
CWE-401
CWE-400
CWE-404
Status
published
Products (2)
cloudflare/boring
4.0.0
crates.io/tokio-boring
4.0.0 - 4.1.0crates.io
Published
Dec 05, 2023
Tracked Since
Feb 18, 2026