CVE-2023-6180

Resource exhaustion via memory leak in tokio-boring

Published Dec 5, 2023 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-3262 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.
Github GHSA Github GHSA GHSA-pjrj-h4fg-6gm4 tokio-boring vulnerable to resource exhaustion via memory leak
History

No history.

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-404

    Improper Resource Shutdown or Release

Sources

Status
PUBLISHED
Assigner
cloudflare
Published
Updated
Aug 2, 2024, 8:21 AM
Reserved
Nov 16, 2023, 7:15 PM
Status
Modified
Published
Dec 5, 2023, 3:15 PM
Modified
Jun 17, 2026, 6:50 AM