9.8
CRITICAL
CVE-2024-45402
Picotls TLS Free Double-Free Vulnerability
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.

INFO

Published Date :

Oct. 11, 2024, 3:15 p.m.

Last Modified :

Nov. 12, 2024, 8:02 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2024-45402 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-45402 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Dena h2o
2 Dena picotls
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-45402.

URL Resource
https://github.com/h2o/picotls/commit/9b88159ce763d680e4a13b6e8f3171ae923a535d Patch
https://github.com/h2o/picotls/security/advisories/GHSA-w7c8-wjx9-vvvv Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 1 month ago
1 stars 0 fork 0 watcher
Born at : Oct. 8, 2024, 11:51 a.m. This repo has been linked 12 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-45402 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-45402 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Nov. 12, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/h2o/picotls/commit/9b88159ce763d680e4a13b6e8f3171ae923a535d No Types Assigned https://github.com/h2o/picotls/commit/9b88159ce763d680e4a13b6e8f3171ae923a535d Patch
    Changed Reference Type https://github.com/h2o/picotls/security/advisories/GHSA-w7c8-wjx9-vvvv No Types Assigned https://github.com/h2o/picotls/security/advisories/GHSA-w7c8-wjx9-vvvv Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:dena:picotls:*:*:*:*:*:*:*:* versions from (including) 2024-08-12 up to (excluding) 2024-10-10
  • CVE Received by [email protected]

    Oct. 11, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference GitHub, Inc. https://github.com/h2o/picotls/security/advisories/GHSA-w7c8-wjx9-vvvv [No types assigned]
    Added Reference GitHub, Inc. https://github.com/h2o/picotls/commit/9b88159ce763d680e4a13b6e8f3171ae923a535d [No types assigned]
    Added CWE GitHub, Inc. CWE-415
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-45402 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-45402 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability