{"id":"CVE-2023-6180","aliases":["CVE-2023-6180","GHSA-pjrj-h4fg-6gm4"],"related":[],"kind":"vulnerability","state":"published","title":"Resource exhaustion via memory leak in tokio-boring","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"La librería tokio-boring en la versión 4.0.0 se ve afectada por un problema de pérdida de memoria que puede provocar un consumo excesivo de recursos y una posible DoS por agotamiento de los recursos. La función set_ex_data utilizada por la librería no desasignó la memoria utilizada por los datos preexistentes en la memoria cada vez que se completó una conexión TLS, lo que provocó que el programa consumiera más recursos con cada nueva conexión.","source":"nvd"}],"published":"2023-12-05T15:02:40.007Z","modified":"2026-07-08T06:29:08.895Z","severity":{"scorer":"cloudflare","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"cloudflare","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-401","CWE-404"],"affected":[{"ranges":[{"type":"semver","introduced":"4.0.0","lastAffected":"4.1.0","status":"affected"}],"vendor":"Cloudflare","product":"tokio-boring","package":"boring","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.1.0"}],"ecosystem":"crates.io","package":"tokio-boring","purl":"pkg:cargo/tokio-boring","source":"ghsa"},{"ranges":[{"status":"affected","version":"4.0.0"}],"vendor":"cloudflare","product":"boring","cpe":"cpe:2.3:a:cloudflare:boring:4.0.0:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://github.com/cloudflare/boring/security/advisories/GHSA-pjrj-h4fg-6gm4","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6180","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/cloudflare/boring/commit/a32783374f2682e6949fdb713910b1b9f103d3ed","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/cloudflare/boring","tags":["package"],"sources":["ghsa"]}],"credits":["Eric Rosenberg"],"assigner":"cloudflare","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-6180","url":"https://www.cve.org/CVERecord?id=CVE-2023-6180","licence":"CVE Terms of Use","modified":"2024-08-02T08:21:17.825Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pjrj-h4fg-6gm4","url":"https://github.com/advisories/GHSA-pjrj-h4fg-6gm4","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:08.895Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-6180","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6180","licence":"Public domain","modified":"2026-06-17T06:50:15.297Z"}],"updatedAt":"2026-11-25T22:58:31.060Z","epss":{"score":0.00619,"percentile":0.51023,"date":"2026-12-02T12:00:21.000Z"}}