{"id":"GHSA-pjrj-h4fg-6gm4","summary":"tokio-boring vulnerable to resource exhaustion via memory leak","details":"### Impact\nThe 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\n### Patches\nThe issue is fixed in version 4.1.0 of tokio-boring.\n\n### References\n[CVE-2023-6180 at cve.org](https://www.cve.org/CVERecord?id=CVE-2023-6180)\n","aliases":["CVE-2023-6180"],"modified":"2026-07-08T06:29:08.895269677Z","published":"2023-12-05T23:42:49Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-12-05T23:42:49Z","nvd_published_at":"2023-12-05T15:15:08Z","cwe_ids":["CWE-400","CWE-401","CWE-404"]},"references":[{"type":"WEB","url":"https://github.com/cloudflare/boring/security/advisories/GHSA-pjrj-h4fg-6gm4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6180"},{"type":"WEB","url":"https://github.com/cloudflare/boring/commit/a32783374f2682e6949fdb713910b1b9f103d3ed"},{"type":"PACKAGE","url":"https://github.com/cloudflare/boring"}],"affected":[{"package":{"name":"tokio-boring","ecosystem":"crates.io","purl":"pkg:cargo/tokio-boring"},"ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"4.1.0"}]}],"versions":["4.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-pjrj-h4fg-6gm4/GHSA-pjrj-h4fg-6gm4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}