Lucene search

K
githubGitHub Advisory DatabaseGHSA-PJRJ-H4FG-6GM4
HistoryDec 05, 2023 - 11:42 p.m.

tokio-boring vulnerable to resource exhaustion via memory leak

2023-12-0523:42:49
CWE-400
CWE-401
CWE-404
GitHub Advisory Database
github.com
9
tokio-boring
memory leak
resource exhaustion
tls connection
vulnerability
patch

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

AI Score

6.6

Confidence

High

EPSS

0.001

Percentile

17.0%

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

Affected configurations

Vulners
Node
tokiotokio-boringMatch4.0.0
VendorProductVersionCPE
tokiotokio-boring4.0.0cpe:2.3:a:tokio:tokio-boring:4.0.0:*:*:*:*:*:*:*

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

AI Score

6.6

Confidence

High

EPSS

0.001

Percentile

17.0%

Related for GHSA-PJRJ-H4FG-6GM4