{"id":"CVE-2023-6180","published":"2023-12-05T15:02:40Z","modified":"2024-08-02T08:21:17Z","title":"Resource exhaustion via memory leak in tokio-boring","vendor":"Cloudflare","product":"tokio-boring","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00619,"percentile":0.50586,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-404","name":"Improper Resource Shutdown or Release"}],"references":[{"url":"https://github.com/cloudflare/boring/security/advisories/GHSA-pjrj-h4fg-6gm4","tags":[]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":10.12},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"cloudflare","affectedVersions":[{"vendor":"Cloudflare","product":"tokio-boring","versions":[">= 4.0.0, <= 4.1.0"]}],"capec":[{"id":"CAPEC-130","name":"Excessive Allocation"},{"id":"CAPEC-131","name":"Resource Leak Exposure"}],"affected":[{"ecosystem":"crates.io","package":"tokio-boring","vulnerableRanges":[">=4.0.0, <4.1.0"],"patched":["4.1.0"],"from":["GHSA-pjrj-h4fg-6gm4"],"provenance":"source"}],"summary":{"text":"The tokio-boring library, specifically version 4.0.0 from Cloudflare, contains a memory leak in its set_ex_data function, which fails to free memory used by pre-existing data after each completed TLS connection. An attacker with network access and no authentication or user interaction required can trigger continued resource consumption with each new connection, potentially exhausting resources and causing a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:55Z"},"euvd":{"id":"EUVD-2023-3262","exploited":false,"provenance":"source"}}