{"id":"CVE-2023-6180","state":"PUBLISHED","title":"Resource exhaustion via memory leak in tokio-boring","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.\n","publishedAt":"2023-12-05T15:02:40.007Z","updatedAt":"2024-08-02T08:21:17.825Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"cloudflare"},"assigner":"cloudflare","products":["Cloudflare tokio-boring"],"affected":[{"vendor":"Cloudflare","product":"tokio-boring","packageName":"boring","defaultStatus":"unaffected","versions":[{"version":"4.0.0","status":"affected","lessThanOrEqual":"4.1.0","versionType":"semver"}],"collectionURL":"https://github.com/cloudflare/boring/tree/master/tokio-boring","modules":["toki-boring"]}],"references":["https://github.com/cloudflare/boring/security/advisories/GHSA-pjrj-h4fg-6gm4"],"weaknesses":["CWE-400","CWE-404"],"ingestedAt":"2026-10-29T20:06:42.242Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/6xxx/CVE-2023-6180.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-6180","state":"PUBLISHED","datePublished":"2023-12-05T15:02:40.007Z","dateUpdated":"2024-08-02T08:21:17.825Z","assignerShortName":"cloudflare","assignerOrgId":"a22f1246-ba21-4bb4-a601-ad51614c1513","dateReserved":"2023-11-16T19:15:23.367Z"},"containers":{"cna":{"title":"Resource exhaustion via memory leak in tokio-boring","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"Cloudflare","product":"tokio-boring","packageName":"boring","defaultStatus":"unaffected","versions":[{"version":"4.0.0","status":"affected","lessThanOrEqual":"4.1.0","versionType":"semver"}],"collectionURL":"https://github.com/cloudflare/boring/tree/master/tokio-boring","modules":["toki-boring"]}],"references":[{"url":"https://github.com/cloudflare/boring/security/advisories/GHSA-pjrj-h4fg-6gm4"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-404","description":"CWE-404 Improper Resource Shutdown or Release","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"cloudflare","orgId":"a22f1246-ba21-4bb4-a601-ad51614c1513","dateUpdated":"2023-12-05T15:02:40.007Z"},"credits":[{"lang":"en","type":"reporter","user":"00000000-0000-4000-9000-000000000000","value":"Eric Rosenberg"}],"impacts":[{"capecId":"CAPEC-130","descriptions":[{"lang":"en","value":"CAPEC-130 Excessive Allocation"}]},{"capecId":"CAPEC-131","descriptions":[{"lang":"en","value":"CAPEC-131 Resource Leak Exposure"}]}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/cloudflare/boring/security/advisories/GHSA-pjrj-h4fg-6gm4","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T08:21:17.825Z"}}]}}}