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

CVE-2023-6180 at cve.org

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: 5 months ago
Updated: 5 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: Repository: https://github.com/cloudflare/boring
Blast Radius: 7.6

Affected Packages

cargo:tokio-boring
Dependent packages: 5
Dependent repositories: 27
Downloads: 464,317 total
Affected Version Ranges: = 4.0.0
Fixed in: 4.1.0
All affected versions: 4.0.0
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.1.0, 4.2.0, 4.3.0, 4.4.0, 4.4.1, 4.5.0, 4.6.0