Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1wanJqLWg0ZmctNmdtNM4AA3lF
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 Permalink: https://github.com/advisories/GHSA-pjrj-h4fg-6gm4
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wanJqLWg0ZmctNmdtNM4AA3lF
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 12 months ago
Updated: 12 months ago
CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Identifiers: GHSA-pjrj-h4fg-6gm4, CVE-2023-6180
References:
- https://github.com/cloudflare/boring/security/advisories/GHSA-pjrj-h4fg-6gm4
- https://nvd.nist.gov/vuln/detail/CVE-2023-6180
- https://github.com/cloudflare/boring/commit/a32783374f2682e6949fdb713910b1b9f103d3ed
- https://github.com/advisories/GHSA-pjrj-h4fg-6gm4
Blast Radius: 7.6
Affected Packages
cargo:tokio-boring
Dependent packages: 6Dependent repositories: 27
Downloads: 610,289 total
Affected Version Ranges: = 4.0.0
Fixed in: 4.1.0
All affected versions:
All unaffected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0, 4.4.0, 4.4.1, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.0, 4.9.1, 4.10.0, 4.10.1, 4.10.2, 4.10.3, 4.11.0, 4.12.0, 4.13.0