Vulnerability · Published Oct 11, 2024 · Assigned by GitHub_M
CVE-2024-45402Picotls double free
High 8.6
In plain English
A high-severity double free in picotls from h2o. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities).
Official description
Picotls is a TLS protocol library that allows users select different crypto backends based on their use case. When parsing a spoofed TLS handshake message, picotls (specifically, bindings within picotls that call the crypto libraries) may attempt to free the same memory twice. This double free occurs during the disposal of multiple objects without any intervening calls to malloc Typically, this triggers the malloc implementation to detect the error and abort the process. However, depending on the internals of malloc and the crypto backend being used, the flaw could potentially lead to a use-after-free scenario, which might allow for arbitrary code execution. The vulnerability is addressed with commit 9b88159ce763d680e4a13b6e8f3171ae923a535d.
Affected products (as reported)
Weakness: CWE-415 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
References
- https://github.com/h2o/picotls/security/advisories/GHSA-w7c8-wjx9-vvvv x_refsource_CONFIRM
- https://github.com/h2o/picotls/commit/9b88159ce763d680e4a13b6e8f3171ae923a535d x_refsource_MISC