CVE-2023-6180
MEDIUM 5.3CVSS 3.1tokio-boring vulnerable to resource exhaustion via memory leak
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.
- Published
- 5 Dec 2023
- Last modified
- 8 Jul 2026
- Assigned by
- cna@cloudflare.com
- NVD status
- Modified
- Weakness
- CWE-400CWE-401CWE-404
- Also known as
- GHSA-pjrj-h4fg-6gm4
- Sources
- NVDJSONOSV GHSA-pjrj-h4fg-6gm4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@cloudflare.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cloudflare | boringcpe:2.3:a:cloudflare:boring:4.0.0:*:*:*:*:rust:*:* |
= 4.0.0 | |
| OSV | crates.io | tokio-boring | >= 4.0.0, < 4.1.0 | 4.1.0 |
References
- https://github.com/cloudflare/boring/security/advisories/GHSA-pjrj-h4fg-6gm4 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-6180 · ADVISORY
- https://github.com/cloudflare/boring/commit/a32783374f2682e6949fdb713910b1b9f103d3ed · WEB
- https://github.com/cloudflare/boring · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 5 Dec 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Dec 2023)